#CF58C2#CF58C2

#CF58C2 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.8% C 0.195 H 332.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CF58C2
RGBrgb(207, 88, 194)
HSLhsl(307, 55%, 58%)
HSVhsv(307, 57%, 81%)
CMYKcmyk(0%, 57.5%, 6.3%, 18.8%)
CIE-LABlab(56.23, 60.08, -33.42)
CIE-LCHlch(56.23, 68.75, 330.92°)
OKLaboklab(64.77% 0.1718 -0.0913)
OKLCHoklch(64.77% 0.195 332)
XYZxyz(38.9594, 24.1426, 53.6365)
Luminance0.2414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF58C2 #58CF65
analogous
#A158CF #CF58C2 #CF5886
triadic
#CF58C2 #C2CF58 #58C2CF
tetradic
#CF58C2 #CFA158 #58CF65 #5886CF
square
#CF58C2 #CFA158 #58CF65 #5886CF
split-complementary
#CF58C2 #86CF58 #58CFA1
monochromatic
#86277C #B634A7 #CF58C2 #DD88D3 #EAB7E5

Accessibility & contrast

On white

3.60
#CF58C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CF58C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF58C2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF58C2#FFFFFF#000000##000000
##CF58C21.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#D76285
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf58c2;
/* rgb */ color: rgb(207, 88, 194);
/* oklch */ color: oklch(64.8% 0.195 332.0);
Tailwind
colors: {
  custom: {
    50: '#e08dd5',
    500: '#cf58c2',
    950: '#000000',
  },
}
SCSS
$custom: #cf58c2;
$custom-light: #e08dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf58c2",
  "rgb": {
    "r": 207,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 306.555,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64774,
    "c": 0.19453,
    "h": 332
  },
  "luminance": 0.2414
}

Semantic roles & 50–950 ramp

primary
#CF58C2
secondary
#AAD9AF
accent
#DF5949
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #CF58C2

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

Preview Lab → · Contrast checker → · Palette generator →

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