#CF5FE7#CF5FE7

#CF5FE7 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.5% C 0.216 H 320.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#CF5FE7
RGBrgb(207, 95, 231)
HSLhsl(289, 74%, 64%)
HSVhsv(289, 59%, 91%)
CMYKcmyk(10.4%, 58.9%, 0%, 9.4%)
CIE-LABlab(59.18, 63.46, -49.72)
CIE-LCHlch(59.18, 80.62, 321.92°)
OKLaboklab(67.51% 0.1664 -0.1385)
OKLCHoklch(67.51% 0.216 320.2)
XYZxyz(44.2464, 27.2213, 78.5094)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FE7 #77E75F
analogous
#8B5FE7 #CF5FE7 #E75FBB
triadic
#CF5FE7 #E7CF5F #5FE7CF
tetradic
#CF5FE7 #E78B5F #77E75F #5FBBE7
square
#CF5FE7 #E78B5F #77E75F #5FBBE7
split-complementary
#CF5FE7 #BBE75F #5FE78B
monochromatic
#961BB1 #BF2ADF #CF5FE7 #DF94EF #EFC9F7

Accessibility & contrast

On white

3.26
#CF5FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#CF5FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FE7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FE7#FFFFFF#000000##000000
##CF5FE71.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EB
Deuteranopia (green-blind)
#6A93E3
Tritanopia (blue-blind)
#D0749A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cf5fe7;
/* rgb */ color: rgb(207, 95, 231);
/* oklch */ color: oklch(67.5% 0.216 320.2);
Tailwind
colors: {
  custom: {
    50: '#e192ef',
    500: '#cf5fe7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fe7;
$custom-light: #e192ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fe7",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 289.412,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67512,
    "c": 0.21648,
    "h": 320.2
  },
  "luminance": 0.27219
}

Semantic roles & 50–950 ramp

primary
#CF5FE7
secondary
#C1E9B9
accent
#D60F33
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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