#CF7DCB#CF7DCB

#CF7DCB is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.3% C 0.142 H 328.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CF7DCB
RGBrgb(207, 125, 203)
HSLhsl(303, 46%, 65%)
HSVhsv(303, 40%, 81%)
CMYKcmyk(0%, 39.6%, 1.9%, 18.8%)
CIE-LABlab(63.55, 43.46, -27.19)
CIE-LCHlch(63.55, 51.26, 327.97°)
OKLaboklab(70.33% 0.1216 -0.0739)
OKLCHoklch(70.33% 0.142 328.7)
XYZxyz(43.8445, 32.2465, 60.4031)
Luminance0.3224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DCB #7DCF81
analogous
#AA7DCF #CF7DCB #CF7DA2
triadic
#CF7DCB #CBCF7D #7DCBCF
tetradic
#CF7DCB #CFAA7D #7DCF81 #7DA2CF
square
#CF7DCB #CFAA7D #7DCF81 #7DA2CF
split-complementary
#CF7DCB #A2CF7D #7DCFAA
monochromatic
#993994 #BE50B9 #CF7DCB #E0AADD #F0D6EF

Accessibility & contrast

On white

2.82
#CF7DCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CF7DCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DCB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DCB#FFFFFF#000000##000000
##CF7DCB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CE
Deuteranopia (green-blind)
#8E9EC8
Tritanopia (blue-blind)
#D4849B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7dcb;
/* rgb */ color: rgb(207, 125, 203);
/* oklch */ color: oklch(70.3% 0.142 328.7);
Tailwind
colors: {
  custom: {
    50: '#dfa4db',
    500: '#cf7dcb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dcb;
$custom-light: #dfa4db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dcb",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 302.927,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70329,
    "c": 0.14231,
    "h": 328.7
  },
  "luminance": 0.32244
}

Semantic roles & 50–950 ramp

primary
#CF7DCB
secondary
#C6E2C7
accent
#B9332C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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