#CF58BD#CF58BD

#CF58BD is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.5% C 0.191 H 333.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CF58BD
RGBrgb(207, 88, 189)
HSLhsl(309, 55%, 58%)
HSVhsv(309, 57%, 81%)
CMYKcmyk(0%, 57.5%, 8.7%, 18.8%)
CIE-LABlab(56.01, 59.27, -30.89)
CIE-LCHlch(56.01, 66.84, 332.47°)
OKLaboklab(64.54% 0.171 -0.0841)
OKLCHoklch(64.54% 0.191 333.8)
XYZxyz(38.4073, 23.9218, 50.7287)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF58BD #58CF6A
analogous
#A658CF #CF58BD #CF5881
triadic
#CF58BD #BDCF58 #58BDCF
tetradic
#CF58BD #CFA658 #58CF6A #5881CF
square
#CF58BD #CFA658 #58CF6A #5881CF
split-complementary
#CF58BD #81CF58 #58CFA6
monochromatic
#862778 #B634A2 #CF58BD #DD88D0 #EAB7E3

Accessibility & contrast

On white

3.63
#CF58BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CF58BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF58BD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF58BD#FFFFFF#000000##000000
##CF58BD1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#567BC0
Deuteranopia (green-blind)
#7B8DBA
Tritanopia (blue-blind)
#D86082
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf58bd;
/* rgb */ color: rgb(207, 88, 189);
/* oklch */ color: oklch(64.5% 0.191 333.8);
Tailwind
colors: {
  custom: {
    50: '#e08dd1',
    500: '#cf58bd',
    950: '#000000',
  },
}
SCSS
$custom: #cf58bd;
$custom-light: #e08dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf58bd",
  "rgb": {
    "r": 207,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 309.076,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6454,
    "c": 0.19058,
    "h": 333.8
  },
  "luminance": 0.23919
}

Semantic roles & 50–950 ramp

primary
#CF58BD
secondary
#AAD9B1
accent
#DF6049
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #CF58BD

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

Preview Lab → · Contrast checker → · Palette generator →

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