#C662EF#C662EF

#C662EF is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.2% C 0.216 H 314.9°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#C662EF
RGBrgb(198, 98, 239)
HSLhsl(283, 82%, 66%)
HSVhsv(283, 59%, 94%)
CMYKcmyk(17.2%, 59%, 0%, 6.3%)
CIE-LABlab(58.95, 61.47, -54.62)
CIE-LCHlch(58.95, 82.23, 318.38°)
OKLaboklab(67.24% 0.1525 -0.153)
OKLCHoklch(67.24% 0.216 314.9)
XYZxyz(43.2339, 26.9745, 84.5738)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662EF #8BEF62
analogous
#7F62EF #C662EF #EF62D1
triadic
#C662EF #EFC662 #62EFC6
tetradic
#C662EF #EF7F62 #8BEF62 #62D1EF
square
#C662EF #EF7F62 #8BEF62 #62D1EF
split-complementary
#C662EF #D1EF62 #62EF7F
monochromatic
#9014C3 #B22AE9 #C662EF #DA9AF5 #EED1FA

Accessibility & contrast

On white

3.28
#C662EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#C662EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662EF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662EF#FFFFFF#000000##000000
##C662EF1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#C37BA0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c662ef;
/* rgb */ color: rgb(198, 98, 239);
/* oklch */ color: oklch(67.2% 0.216 314.9);
Tailwind
colors: {
  custom: {
    50: '#da93f5',
    500: '#c662ef',
    950: '#000000',
  },
}
SCSS
$custom: #c662ef;
$custom-light: #da93f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c662ef",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 282.553,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67239,
    "c": 0.216,
    "h": 314.9
  },
  "luminance": 0.26973
}

Semantic roles & 50–950 ramp

primary
#C662EF
secondary
#CDEEBF
accent
#DE0846
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C662EF

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

Preview Lab → · Contrast checker → · Palette generator →

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