#CF5FE5#CF5FE5

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

Color values

HEX#CF5FE5
RGBrgb(207, 95, 229)
HSLhsl(290, 72%, 64%)
HSVhsv(290, 59%, 90%)
CMYKcmyk(9.6%, 58.5%, 0%, 10.2%)
CIE-LABlab(59.08, 63.09, -48.77)
CIE-LCHlch(59.08, 79.74, 322.30°)
OKLaboklab(67.4% 0.1663 -0.1357)
OKLCHoklch(67.4% 0.215 320.8)
XYZxyz(43.9655, 27.1090, 77.0303)
Luminance0.2711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FE5 #75E55F
analogous
#8C5FE5 #CF5FE5 #E55FB8
triadic
#CF5FE5 #E5CF5F #5FE5CF
tetradic
#CF5FE5 #E58C5F #75E55F #5FB8E5
square
#CF5FE5 #E58C5F #75E55F #5FB8E5
split-complementary
#CF5FE5 #B8E55F #5FE58C
monochromatic
#961CAD #BF2ADC #CF5FE5 #DF94EE #EFC8F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5FE5#FFFFFF#000000##000000
##CF5FE51.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)
#4286E9
Deuteranopia (green-blind)
#6C92E1
Tritanopia (blue-blind)
#D17499
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5fe5;
/* rgb */ color: rgb(207, 95, 229);
/* oklch */ color: oklch(67.4% 0.215 320.8);
Tailwind
colors: {
  custom: {
    50: '#e192ee',
    500: '#cf5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fe5;
$custom-light: #e192ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fe5",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 290.149,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67403,
    "c": 0.21464,
    "h": 320.8
  },
  "luminance": 0.27107
}

Semantic roles & 50–950 ramp

primary
#CF5FE5
secondary
#C0E8B8
accent
#D41131
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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