#CF39BD#CF39BD

#CF39BD is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.4% C 0.230 H 333.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CF39BD
RGBrgb(207, 57, 189)
HSLhsl(307, 61%, 52%)
HSVhsv(307, 72%, 81%)
CMYKcmyk(0%, 72.5%, 8.7%, 18.8%)
CIE-LABlab(51.69, 71.27, -37.65)
CIE-LCHlch(51.69, 80.61, 332.15°)
OKLaboklab(61.4% 0.2061 -0.1032)
OKLCHoklch(61.4% 0.23 333.4)
XYZxyz(36.3808, 19.8689, 50.0532)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF39BD #39CF4B
analogous
#9639CF #CF39BD #CF3972
triadic
#CF39BD #BDCF39 #39BDCF
tetradic
#CF39BD #CF9639 #39CF4B #3972CF
square
#CF39BD #CF9639 #39CF4B #3972CF
split-complementary
#CF39BD #72CF39 #39CF96
monochromatic
#721C68 #A32894 #CF39BD #DB6ACD #E79CDE

Accessibility & contrast

On white

4.22
#CF39BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CF39BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF39BD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF39BD#FFFFFF#000000##000000
##CF39BD1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#346DC1
Deuteranopia (green-blind)
#6B83B9
Tritanopia (blue-blind)
#D84877
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf39bd;
/* rgb */ color: rgb(207, 57, 189);
/* oklch */ color: oklch(61.4% 0.230 333.4);
Tailwind
colors: {
  custom: {
    50: '#e27ed1',
    500: '#cf39bd',
    950: '#000000',
  },
}
SCSS
$custom: #cf39bd;
$custom-light: #e27ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf39bd",
  "rgb": {
    "r": 207,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 307.2,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.61398,
    "c": 0.23049,
    "h": 333.4
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#CF39BD
secondary
#91D399
accent
#E45744
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CF39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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