#CF58E9#CF58E9

#CF58E9 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.228 H 320.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#CF58E9
RGBrgb(207, 88, 233)
HSLhsl(289, 77%, 63%)
HSVhsv(289, 62%, 91%)
CMYKcmyk(11.2%, 62.2%, 0%, 8.6%)
CIE-LABlab(58.16, 66.92, -52.46)
CIE-LCHlch(58.16, 85.03, 321.91°)
OKLaboklab(66.81% 0.1747 -0.1464)
OKLCHoklch(66.81% 0.228 320)
XYZxyz(43.9280, 26.1301, 79.8047)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF58E9 #72E958
analogous
#8658E9 #CF58E9 #E958BB
triadic
#CF58E9 #E9CF58 #58E9CF
tetradic
#CF58E9 #E98658 #72E958 #58BBE9
square
#CF58E9 #E98658 #72E958 #58BBE9
split-complementary
#CF58E9 #BBE958 #58E986
monochromatic
#9417AF #BF22E2 #CF58E9 #DF8EF0 #EEC4F7

Accessibility & contrast

On white

3.37
#CF58E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#CF58E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF58E9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF58E9#FFFFFF#000000##000000
##CF58E91.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184ED
Deuteranopia (green-blind)
#6490E5
Tritanopia (blue-blind)
#D07099
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cf58e9;
/* rgb */ color: rgb(207, 88, 233);
/* oklch */ color: oklch(66.8% 0.228 320.0);
Tailwind
colors: {
  custom: {
    50: '#e18ef1',
    500: '#cf58e9',
    950: '#000000',
  },
}
SCSS
$custom: #cf58e9;
$custom-light: #e18ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf58e9",
  "rgb": {
    "r": 207,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 289.241,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66807,
    "c": 0.22794,
    "h": 320
  },
  "luminance": 0.26128
}

Semantic roles & 50–950 ramp

primary
#CF58E9
secondary
#BEE8B4
accent
#D90D31
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF58E9

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

Preview Lab → · Contrast checker → · Palette generator →

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