#CB66D4#CB66D4

#CB66D4 is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.9% C 0.186 H 324.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CB66D4
RGBrgb(203, 102, 212)
HSLhsl(295, 56%, 62%)
HSVhsv(295, 52%, 83%)
CMYKcmyk(4.2%, 51.9%, 0%, 16.9%)
CIE-LABlab(58.93, 55.61, -39.47)
CIE-LCHlch(58.93, 68.19, 324.63°)
OKLaboklab(66.92% 0.1513 -0.1089)
OKLCHoklch(66.92% 0.186 324.2)
XYZxyz(41.2626, 26.9548, 65.3039)
Luminance0.2695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB66D4 #6FD466
analogous
#9466D4 #CB66D4 #D466A6
triadic
#CB66D4 #D4CB66 #66D4CB
tetradic
#CB66D4 #D49466 #6FD466 #66A6D4
square
#CB66D4 #D49466 #6FD466 #66A6D4
split-complementary
#CB66D4 #A6D466 #66D494
monochromatic
#8D2A96 #BA37C5 #CB66D4 #DB96E1 #EBC6EF

Accessibility & contrast

On white

3.29
#CB66D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#CB66D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB66D4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB66D4#FFFFFF#000000##000000
##CB66D41.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D8
Deuteranopia (green-blind)
#7792D1
Tritanopia (blue-blind)
#CF7494
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb66d4;
/* rgb */ color: rgb(203, 102, 212);
/* oklch */ color: oklch(66.9% 0.186 324.2);
Tailwind
colors: {
  custom: {
    50: '#dd96e1',
    500: '#cb66d4',
    950: '#000000',
  },
}
SCSS
$custom: #cb66d4;
$custom-light: #dd96e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb66d4",
  "rgb": {
    "r": 203,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 295.091,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66917,
    "c": 0.18639,
    "h": 324.2
  },
  "luminance": 0.26953
}

Semantic roles & 50–950 ramp

primary
#CB66D4
secondary
#BADFB6
accent
#C4222F
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CB66D4

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

Preview Lab → · Contrast checker → · Palette generator →

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