#CF5FE1#CF5FE1

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

Color values

HEX#CF5FE1
RGBrgb(207, 95, 225)
HSLhsl(292, 68%, 63%)
HSVhsv(292, 58%, 88%)
CMYKcmyk(8%, 57.8%, 0%, 11.8%)
CIE-LABlab(58.87, 62.34, -46.85)
CIE-LCHlch(58.87, 77.99, 323.08°)
OKLaboklab(67.19% 0.1661 -0.1301)
OKLCHoklch(67.19% 0.211 321.9)
XYZxyz(43.4135, 26.8882, 74.1227)
Luminance0.2689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FE1 #71E15F
analogous
#8E5FE1 #CF5FE1 #E15FB2
triadic
#CF5FE1 #E1CF5F #5FE1CF
tetradic
#CF5FE1 #E18E5F #71E15F #5FB2E1
square
#CF5FE1 #E18E5F #71E15F #5FB2E1
split-complementary
#CF5FE1 #B2E15F #5FE18E
monochromatic
#941FA6 #C02BD7 #CF5FE1 #DE93EB #EEC6F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5FE1#FFFFFF#000000##000000
##CF5FE11.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)
#4685E5
Deuteranopia (green-blind)
#6E92DE
Tritanopia (blue-blind)
#D17297
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5fe1;
/* rgb */ color: rgb(207, 95, 225);
/* oklch */ color: oklch(67.2% 0.211 321.9);
Tailwind
colors: {
  custom: {
    50: '#e192eb',
    500: '#cf5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fe1;
$custom-light: #e192eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fe1",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 291.692,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67188,
    "c": 0.21097,
    "h": 321.9
  },
  "luminance": 0.26886
}

Semantic roles & 50–950 ramp

primary
#CF5FE1
secondary
#BDE5B6
accent
#D0152F
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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