#CF5CEB#CF5CEB

#CF5CEB is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.4% C 0.224 H 319.3°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#CF5CEB
RGBrgb(207, 92, 235)
HSLhsl(288, 78%, 64%)
HSVhsv(288, 61%, 92%)
CMYKcmyk(11.9%, 60.9%, 0%, 7.8%)
CIE-LABlab(58.90, 65.56, -52.40)
CIE-LCHlch(58.90, 83.93, 321.36°)
OKLaboklab(67.38% 0.1701 -0.1463)
OKLCHoklch(67.38% 0.224 319.3)
XYZxyz(44.5527, 26.9198, 81.4304)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CEB #78EB5C
analogous
#885CEB #CF5CEB #EB5CBF
triadic
#CF5CEB #EBCF5C #5CEBCF
tetradic
#CF5CEB #EB885C #78EB5C #5CBFEB
square
#CF5CEB #EB885C #78EB5C #5CBFEB
split-complementary
#CF5CEB #BFEB5C #5CEB88
monochromatic
#9716B6 #BF25E4 #CF5CEB #DF93F2 #EFC9F8

Accessibility & contrast

On white

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

On black

6.38
#CF5CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CEB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CEB#FFFFFF#000000##000000
##CF5CEB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686EF
Deuteranopia (green-blind)
#6692E7
Tritanopia (blue-blind)
#CF749B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5ceb;
/* rgb */ color: rgb(207, 92, 235);
/* oklch */ color: oklch(67.4% 0.224 319.3);
Tailwind
colors: {
  custom: {
    50: '#e191f2',
    500: '#cf5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ceb;
$custom-light: #e191f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ceb",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 288.252,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67378,
    "c": 0.22433,
    "h": 319.3
  },
  "luminance": 0.26918
}

Semantic roles & 50–950 ramp

primary
#CF5CEB
secondary
#C2EAB8
accent
#DA0B34
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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