#CF58F2#CF58F2

#CF58F2 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.3% C 0.236 H 317.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#CF58F2
RGBrgb(207, 88, 242)
HSLhsl(286, 86%, 65%)
HSVhsv(286, 64%, 95%)
CMYKcmyk(14.5%, 63.6%, 0%, 5.1%)
CIE-LABlab(58.66, 68.62, -56.69)
CIE-LCHlch(58.66, 89.01, 320.44°)
OKLaboklab(67.33% 0.1747 -0.1588)
OKLCHoklch(67.33% 0.236 317.7)
XYZxyz(45.2466, 26.6575, 86.7492)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF58F2 #7BF258
analogous
#8258F2 #CF58F2 #F258C8
triadic
#CF58F2 #F2CF58 #58F2CF
tetradic
#CF58F2 #F28258 #7BF258 #58C8F2
square
#CF58F2 #F28258 #7BF258 #58C8F2
split-complementary
#CF58F2 #C8F258 #58F282
monochromatic
#980FC1 #BF1FEE #CF58F2 #DF91F6 #F0CAFB

Accessibility & contrast

On white

3.32
#CF58F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CF58F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF58F2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF58F2#FFFFFF#000000##000000
##CF58F21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2285F7
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#CE739E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf58f2;
/* rgb */ color: rgb(207, 88, 242);
/* oklch */ color: oklch(67.3% 0.236 317.7);
Tailwind
colors: {
  custom: {
    50: '#e18ff7',
    500: '#cf58f2',
    950: '#000000',
  },
}
SCSS
$custom: #cf58f2;
$custom-light: #e18ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf58f2",
  "rgb": {
    "r": 207,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 286.364,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67325,
    "c": 0.23605,
    "h": 317.7
  },
  "luminance": 0.26656
}

Semantic roles & 50–950 ramp

primary
#CF58F2
secondary
#C4EDB8
accent
#E20336
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF58F2

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

Preview Lab → · Contrast checker → · Palette generator →

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