#C552EB

A color in the Purple, Crimson, Magenta family

#c552eb is a color in the Purple, Crimson, Magenta family: RGB(197, 82, 235), HSL(285°, 79%, 62%), CMYK(16%, 65%, 0%, 8%). Closest named color: mediumorchid. Contrast is 3.63:1 on white and 5.78:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c552eb
RGBrgb(197 82 235)
RGB (legacy)rgb(197, 82, 235)
RGB %rgb(77% 32% 92%)
HSLhsl(285 79% 62%)
HSV / HSBhsv(285, 65%, 92%)
HWBhwb(285 32% 8%)
CMYKcmyk(16%, 65%, 0%, 8%)
CIELAB (D50)lab(55.59 62.7 -57.33)
LCHlch(55.59 84.96 317.56)
OKLaboklab(0.65 0.1698 -0.1603)
OKLCHoklch(0.65 0.2334 316.65)
Decimal12931819

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4.1
Closest web-safe color#cc66ff
Hue285°
Saturation (HSL / HSV)79% / 65%
Lightness (HSL)62%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)52% / 46%
Relative luminance (WCAG)0.239
Red / Green / Blue197 / 82 / 235

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.63:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.78:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 63.1 / -38.6 · As background with white / black text: Lc -68.6 / 41

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #c552eb;
  --color-brand-oklch: oklch(65% 0.2334 316.65);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(197 82 235 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c552eb] text-[#c552eb] border-[#c552eb]">