#CF4DCB#CF4DCB

#CF4DCB is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.0% C 0.217 H 329.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CF4DCB
RGBrgb(207, 77, 203)
HSLhsl(302, 58%, 56%)
HSVhsv(302, 63%, 81%)
CMYKcmyk(0%, 62.8%, 1.9%, 18.8%)
CIE-LABlab(54.96, 66.22, -40.57)
CIE-LCHlch(54.96, 77.66, 328.51°)
OKLaboklab(63.98% 0.1861 -0.1118)
OKLCHoklch(63.98% 0.217 329)
XYZxyz(39.1651, 22.8877, 58.8433)
Luminance0.2288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4DCB #4DCF51
analogous
#924DCF #CF4DCB #CF4D8A
triadic
#CF4DCB #CBCF4D #4DCBCF
tetradic
#CF4DCB #CF924D #4DCF51 #4D8ACF
square
#CF4DCB #CF924D #4DCF51 #4D8ACF
split-complementary
#CF4DCB #8ACF4D #4DCF92
monochromatic
#7F227C #AF2FAC #CF4DCB #DC7DD9 #E9ADE7

Accessibility & contrast

On white

3.77
#CF4DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CF4DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4DCB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4DCB#FFFFFF#000000##000000
##CF4DCB1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#6E8AC8
Tritanopia (blue-blind)
#D65D85
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf4dcb;
/* rgb */ color: rgb(207, 77, 203);
/* oklch */ color: oklch(64.0% 0.217 329.0);
Tailwind
colors: {
  custom: {
    50: '#e188db',
    500: '#cf4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #cf4dcb;
$custom-light: #e188db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4dcb",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 301.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63983,
    "c": 0.21711,
    "h": 329
  },
  "luminance": 0.22885
}

Semantic roles & 50–950 ramp

primary
#CF4DCB
secondary
#A1D7A3
accent
#E14C47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CF4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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