#C662DF#C662DF

#C662DF is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.3% C 0.200 H 319.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#C662DF
RGBrgb(198, 98, 223)
HSLhsl(288, 66%, 63%)
HSVhsv(288, 56%, 87%)
CMYKcmyk(11.2%, 56.1%, 0%, 12.5%)
CIE-LABlab(58.10, 58.30, -47.02)
CIE-LCHlch(58.10, 74.89, 321.11°)
OKLaboklab(66.35% 0.1518 -0.1309)
OKLCHoklch(66.35% 0.2 319.2)
XYZxyz(40.9739, 26.0705, 72.6715)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662DF #7BDF62
analogous
#8762DF #C662DF #DF62B9
triadic
#C662DF #DFC662 #62DFC6
tetradic
#C662DF #DF8762 #7BDF62 #62B9DF
square
#C662DF #DF8762 #7BDF62 #62B9DF
split-complementary
#C662DF #B9DF62 #62DF87
monochromatic
#8B22A5 #B42FD5 #C662DF #D895E9 #EBC8F4

Accessibility & contrast

On white

3.38
#C662DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#C662DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662DF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662DF#FFFFFF#000000##000000
##C662DF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#6A8FDC
Tritanopia (blue-blind)
#C67597
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c662df;
/* rgb */ color: rgb(198, 98, 223);
/* oklch */ color: oklch(66.3% 0.200 319.2);
Tailwind
colors: {
  custom: {
    50: '#da93e9',
    500: '#c662df',
    950: '#000000',
  },
}
SCSS
$custom: #c662df;
$custom-light: #da93e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c662df",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 288,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66347,
    "c": 0.20039,
    "h": 319.2
  },
  "luminance": 0.26069
}

Semantic roles & 50–950 ramp

primary
#C662DF
secondary
#C1E5B8
accent
#CE173C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C662DF

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

Preview Lab → · Contrast checker → · Palette generator →

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