#C662E4#C662E4

#C662E4 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.6% C 0.205 H 317.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#C662E4
RGBrgb(198, 98, 228)
HSLhsl(286, 71%, 64%)
HSVhsv(286, 57%, 89%)
CMYKcmyk(13.2%, 57%, 0%, 10.6%)
CIE-LABlab(58.36, 59.27, -49.41)
CIE-LCHlch(58.36, 77.17, 320.18°)
OKLaboklab(66.62% 0.1521 -0.1378)
OKLCHoklch(66.62% 0.205 317.8)
XYZxyz(41.6580, 26.3442, 76.2743)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662E4 #80E462
analogous
#8562E4 #C662E4 #E462C1
triadic
#C662E4 #E4C662 #62E4C6
tetradic
#C662E4 #E48562 #80E462 #62C1E4
square
#C662E4 #E48562 #80E462 #62C1E4
split-complementary
#C662E4 #C1E462 #62E485
monochromatic
#8D1EAE #B32EDB #C662E4 #D996ED #ECCAF6

Accessibility & contrast

On white

3.35
#C662E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#C662E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662E4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662E4#FFFFFF#000000##000000
##C662E41.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E8
Deuteranopia (green-blind)
#6790E1
Tritanopia (blue-blind)
#C5779A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c662e4;
/* rgb */ color: rgb(198, 98, 228);
/* oklch */ color: oklch(66.6% 0.205 317.8);
Tailwind
colors: {
  custom: {
    50: '#da93ed',
    500: '#c662e4',
    950: '#000000',
  },
}
SCSS
$custom: #c662e4;
$custom-light: #da93ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c662e4",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 286.154,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6662,
    "c": 0.20523,
    "h": 317.8
  },
  "luminance": 0.26343
}

Semantic roles & 50–950 ramp

primary
#C662E4
secondary
#C5E8BA
accent
#D3133F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C662E4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C662E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva