#CF7BDD#CF7BDD

#CF7BDD is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.8% C 0.163 H 321.7°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#CF7BDD
RGBrgb(207, 123, 221)
HSLhsl(291, 59%, 67%)
HSVhsv(291, 44%, 87%)
CMYKcmyk(6.3%, 44.3%, 0%, 13.3%)
CIE-LABlab(63.88, 47.87, -36.74)
CIE-LCHlch(63.88, 60.35, 322.49°)
OKLaboklab(70.82% 0.1282 -0.1011)
OKLCHoklch(70.82% 0.163 321.7)
XYZxyz(45.8648, 32.6536, 72.2794)
Luminance0.3265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7BDD #89DD7B
analogous
#9E7BDD #CF7BDD #DD7BBA
triadic
#CF7BDD #DDCF7B #7BDDCF
tetradic
#CF7BDD #DD9E7B #89DD7B #7BBADD
square
#CF7BDD #DD9E7B #89DD7B #7BBADD
split-complementary
#CF7BDD #BADD7B #7BDD9E
monochromatic
#9E2DB0 #BD4AD0 #CF7BDD #E1ACEA #F2DCF6

Accessibility & contrast

On white

2.79
#CF7BDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#CF7BDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7BDD
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7BDD#FFFFFF#000000##000000
##CF7BDD1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E95E0
Deuteranopia (green-blind)
#859EDA
Tritanopia (blue-blind)
#D187A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7bdd;
/* rgb */ color: rgb(207, 123, 221);
/* oklch */ color: oklch(70.8% 0.163 321.7);
Tailwind
colors: {
  custom: {
    50: '#dfa3e8',
    500: '#cf7bdd',
    950: '#000000',
  },
}
SCSS
$custom: #cf7bdd;
$custom-light: #dfa3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7bdd",
  "rgb": {
    "r": 207,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 291.429,
    "s": 59.036,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70823,
    "c": 0.16328,
    "h": 321.7
  },
  "luminance": 0.32652
}

Semantic roles & 50–950 ramp

primary
#CF7BDD
secondary
#CFE9CB
accent
#C71F37
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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