#C662DD#C662DD

#C662DD is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.2% C 0.198 H 319.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#C662DD
RGBrgb(198, 98, 221)
HSLhsl(289, 64%, 63%)
HSVhsv(289, 56%, 87%)
CMYKcmyk(10.4%, 55.7%, 0%, 13.3%)
CIE-LABlab(58.00, 57.91, -46.05)
CIE-LCHlch(58.00, 73.99, 321.51°)
OKLaboklab(66.24% 0.1516 -0.1281)
OKLCHoklch(66.24% 0.198 319.8)
XYZxyz(40.7059, 25.9633, 71.2598)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C662DD #79DD62
analogous
#8862DD #C662DD #DD62B7
triadic
#C662DD #DDC662 #62DDC6
tetradic
#C662DD #DD8862 #79DD62 #62B7DD
square
#C662DD #DD8862 #79DD62 #62B7DD
split-complementary
#C662DD #B7DD62 #62DD88
monochromatic
#8A23A2 #B430D2 #C662DD #D894E8 #EBC7F3

Accessibility & contrast

On white

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

On black

6.19
#C662DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C662DD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C662DD#FFFFFF#000000##000000
##C662DD1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E1
Deuteranopia (green-blind)
#6B8FDA
Tritanopia (blue-blind)
#C77496
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c662dd;
/* rgb */ color: rgb(198, 98, 221);
/* oklch */ color: oklch(66.2% 0.198 319.8);
Tailwind
colors: {
  custom: {
    50: '#da93e8',
    500: '#c662dd',
    950: '#000000',
  },
}
SCSS
$custom: #c662dd;
$custom-light: #da93e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c662dd",
  "rgb": {
    "r": 198,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 288.78,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6624,
    "c": 0.19846,
    "h": 319.8
  },
  "luminance": 0.25962
}

Semantic roles & 50–950 ramp

primary
#C662DD
secondary
#BFE4B7
accent
#CC193B
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C662DD

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

Preview Lab → · Contrast checker → · Palette generator →

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