#CB68E2#CB68E2

#CB68E2 is a light, vivid purple. Relative luminance 0.281; OKLCH L 67.9% C 0.197 H 319.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#CB68E2
RGBrgb(203, 104, 226)
HSLhsl(289, 68%, 65%)
HSVhsv(289, 54%, 89%)
CMYKcmyk(10.2%, 54%, 0%, 11.4%)
CIE-LABlab(59.97, 57.28, -45.71)
CIE-LCHlch(59.97, 73.29, 321.41°)
OKLaboklab(67.9% 0.1501 -0.127)
OKLCHoklch(67.9% 0.197 319.8)
XYZxyz(43.3047, 28.0899, 75.0776)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB68E2 #7FE268
analogous
#8E68E2 #CB68E2 #E268BC
triadic
#CB68E2 #E2CB68 #68E2CB
tetradic
#CB68E2 #E28E68 #7FE268 #68BCE2
square
#CB68E2 #E28E68 #7FE268 #68BCE2
split-complementary
#CB68E2 #BCE268 #68E28E
monochromatic
#9421AE #B935D8 #CB68E2 #DD9BEC #EECFF6

Accessibility & contrast

On white

3.17
#CB68E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#CB68E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB68E2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB68E2#FFFFFF#000000##000000
##CB68E21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#508AE6
Deuteranopia (green-blind)
#7194DF
Tritanopia (blue-blind)
#CC7A9B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cb68e2;
/* rgb */ color: rgb(203, 104, 226);
/* oklch */ color: oklch(67.9% 0.197 319.8);
Tailwind
colors: {
  custom: {
    50: '#dd97eb',
    500: '#cb68e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb68e2;
$custom-light: #dd97eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb68e2",
  "rgb": {
    "r": 203,
    "g": 104,
    "b": 226
  },
  "hsl": {
    "h": 288.689,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67899,
    "c": 0.1966,
    "h": 319.8
  },
  "luminance": 0.28088
}

Semantic roles & 50–950 ramp

primary
#CB68E2
secondary
#C6E8BE
accent
#D01639
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CB68E2

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

Preview Lab → · Contrast checker → · Palette generator →

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