#C662DE#C662DE

#C662DE is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.3% C 0.199 H 319.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#C662DE
RGBrgb(198, 98, 222)
HSLhsl(288, 65%, 63%)
HSVhsv(288, 56%, 87%)
CMYKcmyk(10.8%, 55.9%, 0%, 12.9%)
CIE-LABlab(58.05, 58.10, -46.54)
CIE-LCHlch(58.05, 74.44, 321.31°)
OKLaboklab(66.29% 0.1517 -0.1295)
OKLCHoklch(66.29% 0.199 319.5)
XYZxyz(40.8395, 26.0168, 71.9636)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662DE #7ADE62
analogous
#8862DE #C662DE #DE62B8
triadic
#C662DE #DEC662 #62DEC6
tetradic
#C662DE #DE8862 #7ADE62 #62B8DE
square
#C662DE #DE8862 #7ADE62 #62B8DE
split-complementary
#C662DE #B8DE62 #62DE88
monochromatic
#8A22A3 #B42FD3 #C662DE #D895E9 #EBC7F3

Accessibility & contrast

On white

3.39
#C662DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#C662DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662DE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662DE#FFFFFF#000000##000000
##C662DE1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E2
Deuteranopia (green-blind)
#6B8FDB
Tritanopia (blue-blind)
#C77597
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c662de;
/* rgb */ color: rgb(198, 98, 222);
/* oklch */ color: oklch(66.3% 0.199 319.5);
Tailwind
colors: {
  custom: {
    50: '#da93e9',
    500: '#c662de',
    950: '#000000',
  },
}
SCSS
$custom: #c662de;
$custom-light: #da93e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c662de",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 288.387,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66293,
    "c": 0.19942,
    "h": 319.5
  },
  "luminance": 0.26015
}

Semantic roles & 50–950 ramp

primary
#C662DE
secondary
#C0E4B7
accent
#CD183B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C662DE

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

Preview Lab → · Contrast checker → · Palette generator →

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