#C66DFB#C66DFB

#C66DFB is a light, highly saturated violet. Relative luminance 0.299; OKLCH L 69.4% C 0.212 H 311.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#C66DFB
RGBrgb(198, 109, 251)
HSLhsl(278, 95%, 71%)
HSVhsv(278, 57%, 98%)
CMYKcmyk(21.1%, 56.6%, 0%, 1.6%)
CIE-LABlab(61.58, 58.66, -57.08)
CIE-LCHlch(61.58, 81.85, 315.78°)
OKLaboklab(69.37% 0.1393 -0.1603)
OKLCHoklch(69.37% 0.212 311)
XYZxyz(46.1667, 29.9091, 94.5891)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C66DFB #A2FB6D
analogous
#7F6DFB #C66DFB #FB6DE9
triadic
#C66DFB #FBC66D #6DFBC6
tetradic
#C66DFB #FB7F6D #A2FB6D #6DE9FB
square
#C66DFB #FB7F6D #A2FB6D #6DE9FB
split-complementary
#C66DFB #E9FB6D #6DFB7F
monochromatic
#9306E7 #AF31F9 #C66DFB #DDA9FD #F3E1FE

Accessibility & contrast

On white

3.01
#C66DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#C66DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C66DFB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C66DFB#FFFFFF#000000##000000
##C66DFB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#6196F8
Tritanopia (blue-blind)
#C087AA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c66dfb;
/* rgb */ color: rgb(198, 109, 251);
/* oklch */ color: oklch(69.4% 0.212 311.0);
Tailwind
colors: {
  custom: {
    50: '#da9afd',
    500: '#c66dfb',
    950: '#000000',
  },
}
SCSS
$custom: #c66dfb;
$custom-light: #da9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#c66dfb",
  "rgb": {
    "r": 198,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 277.606,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69367,
    "c": 0.21234,
    "h": 311
  },
  "luminance": 0.29908
}

Semantic roles & 50–950 ramp

primary
#C66DFB
secondary
#DDF5CF
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C66DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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