#CF5CEF#CF5CEF

#CF5CEF is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.6% C 0.228 H 318.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#CF5CEF
RGBrgb(207, 92, 239)
HSLhsl(287, 82%, 65%)
HSVhsv(287, 62%, 94%)
CMYKcmyk(13.4%, 61.5%, 0%, 6.3%)
CIE-LABlab(59.12, 66.32, -54.29)
CIE-LCHlch(59.12, 85.70, 320.70°)
OKLaboklab(67.6% 0.1702 -0.1518)
OKLCHoklch(67.6% 0.228 318.3)
XYZxyz(45.1371, 27.1536, 84.5082)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CEF #7CEF5C
analogous
#865CEF #CF5CEF #EF5CC5
triadic
#CF5CEF #EFCF5C #5CEFCF
tetradic
#CF5CEF #EF865C #7CEF5C #5CC5EF
square
#CF5CEF #EF865C #7CEF5C #5CC5EF
split-complementary
#CF5CEF #C5EF5C #5CEF86
monochromatic
#9913BE #BF24EA #CF5CEF #DF94F4 #F0CBFA

Accessibility & contrast

On white

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

On black

6.43
#CF5CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CEF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CEF#FFFFFF#000000##000000
##CF5CEF1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3187F4
Deuteranopia (green-blind)
#6392EB
Tritanopia (blue-blind)
#CF759D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5cef;
/* rgb */ color: rgb(207, 92, 239);
/* oklch */ color: oklch(67.6% 0.228 318.3);
Tailwind
colors: {
  custom: {
    50: '#e191f5',
    500: '#cf5cef',
    950: '#000000',
  },
}
SCSS
$custom: #cf5cef;
$custom-light: #e191f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5cef",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 286.939,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67604,
    "c": 0.228,
    "h": 318.3
  },
  "luminance": 0.27152
}

Semantic roles & 50–950 ramp

primary
#CF5CEF
secondary
#C5ECBA
accent
#DF0736
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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