#CF5DEB#CF5DEB

#CF5DEB is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.5% C 0.223 H 319.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CF5DEB
RGBrgb(207, 93, 235)
HSLhsl(288, 78%, 64%)
HSVhsv(288, 60%, 92%)
CMYKcmyk(11.9%, 60.4%, 0%, 7.8%)
CIE-LABlab(59.06, 65.11, -52.15)
CIE-LCHlch(59.06, 83.42, 321.31°)
OKLaboklab(67.5% 0.1689 -0.1455)
OKLCHoklch(67.5% 0.223 319.3)
XYZxyz(44.6399, 27.0942, 81.4595)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DEB #79EB5D
analogous
#885DEB #CF5DEB #EB5DC0
triadic
#CF5DEB #EBCF5D #5DEBCF
tetradic
#CF5DEB #EB885D #79EB5D #5DC0EB
square
#CF5DEB #EB885D #79EB5D #5DC0EB
split-complementary
#CF5DEB #C0EB5D #5DEB88
monochromatic
#9717B7 #BF27E4 #CF5DEB #DF93F2 #EFCAF8

Accessibility & contrast

On white

3.27
#CF5DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CF5DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DEB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DEB#FFFFFF#000000##000000
##CF5DEB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf5deb;
/* rgb */ color: rgb(207, 93, 235);
/* oklch */ color: oklch(67.5% 0.223 319.3);
Tailwind
colors: {
  custom: {
    50: '#e191f2',
    500: '#cf5deb',
    950: '#000000',
  },
}
SCSS
$custom: #cf5deb;
$custom-light: #e191f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5deb",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 288.169,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67495,
    "c": 0.22296,
    "h": 319.3
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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