#CB66E7#CB66E7

#CB66E7 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 67.9% C 0.204 H 318.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#CB66E7
RGBrgb(203, 102, 231)
HSLhsl(287, 73%, 65%)
HSVhsv(287, 56%, 91%)
CMYKcmyk(12.1%, 55.8%, 0%, 9.4%)
CIE-LABlab(59.86, 59.22, -48.67)
CIE-LCHlch(59.86, 76.65, 320.58°)
OKLaboklab(67.9% 0.1531 -0.1356)
OKLCHoklch(67.9% 0.204 318.5)
XYZxyz(43.8018, 27.9705, 78.6774)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB66E7 #82E766
analogous
#8B66E7 #CB66E7 #E766C2
triadic
#CB66E7 #E7CB66 #66E7CB
tetradic
#CB66E7 #E78B66 #82E766 #66C2E7
square
#CB66E7 #E78B66 #82E766 #66C2E7
split-complementary
#CB66E7 #C2E766 #66E78B
monochromatic
#951DB6 #B931DF #CB66E7 #DD9BEF #EFD0F8

Accessibility & contrast

On white

3.18
#CB66E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#CB66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB66E7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB66E7#FFFFFF#000000##000000
##CB66E71.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4989EB
Deuteranopia (green-blind)
#6D94E4
Tritanopia (blue-blind)
#CB7A9D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cb66e7;
/* rgb */ color: rgb(203, 102, 231);
/* oklch */ color: oklch(67.9% 0.204 318.5);
Tailwind
colors: {
  custom: {
    50: '#de96ef',
    500: '#cb66e7',
    950: '#000000',
  },
}
SCSS
$custom: #cb66e7;
$custom-light: #de96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb66e7",
  "rgb": {
    "r": 203,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 286.977,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67902,
    "c": 0.20447,
    "h": 318.5
  },
  "luminance": 0.27969
}

Semantic roles & 50–950 ramp

primary
#CB66E7
secondary
#C8EABF
accent
#D5113B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB66E7

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

Preview Lab → · Contrast checker → · Palette generator →

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