#CF5CE1#CF5CE1

#CF5CE1 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.8% C 0.215 H 322.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CF5CE1
RGBrgb(207, 92, 225)
HSLhsl(292, 69%, 62%)
HSVhsv(292, 59%, 88%)
CMYKcmyk(8%, 59.1%, 0%, 11.8%)
CIE-LABlab(58.38, 63.69, -47.63)
CIE-LCHlch(58.38, 79.54, 323.21°)
OKLaboklab(66.83% 0.1697 -0.1324)
OKLCHoklch(66.83% 0.215 322)
XYZxyz(43.1484, 26.3581, 74.0344)
Luminance0.2636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CE1 #6EE15C
analogous
#8D5CE1 #CF5CE1 #E15CB0
triadic
#CF5CE1 #E1CF5C #5CE1CF
tetradic
#CF5CE1 #E18D5C #6EE15C #5CB0E1
square
#CF5CE1 #E18D5C #6EE15C #5CB0E1
split-complementary
#CF5CE1 #B0E15C #5CE18D
monochromatic
#921EA4 #C028D7 #CF5CE1 #DE90EB #EDC3F4

Accessibility & contrast

On white

3.35
#CF5CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CF5CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CE1
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CE1#FFFFFF#000000##000000
##CF5CE11.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4184E5
Deuteranopia (green-blind)
#6C91DD
Tritanopia (blue-blind)
#D17096
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf5ce1;
/* rgb */ color: rgb(207, 92, 225);
/* oklch */ color: oklch(66.8% 0.215 322.0);
Tailwind
colors: {
  custom: {
    50: '#e190eb',
    500: '#cf5ce1',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ce1;
$custom-light: #e190eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ce1",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 291.88,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66827,
    "c": 0.21526,
    "h": 322
  },
  "luminance": 0.26356
}

Semantic roles & 50–950 ramp

primary
#CF5CE1
secondary
#BBE5B4
accent
#D1152E
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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