#CB7DDF#CB7DDF

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

Color values

HEX#CB7DDF
RGBrgb(203, 125, 223)
HSLhsl(288, 60%, 68%)
HSVhsv(288, 44%, 87%)
CMYKcmyk(9%, 43.9%, 0%, 12.5%)
CIE-LABlab(63.91, 46.06, -37.84)
CIE-LCHlch(63.91, 59.61, 320.59°)
OKLaboklab(70.77% 0.1211 -0.1044)
OKLCHoklch(70.77% 0.16 319.2)
XYZxyz(45.2798, 32.6930, 73.7229)
Luminance0.3269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DDF #91DF7D
analogous
#9A7DDF #CB7DDF #DF7DC2
triadic
#CB7DDF #DFCB7D #7DDFCB
tetradic
#CB7DDF #DF9A7D #91DF7D #7DC2DF
square
#CB7DDF #DF9A7D #91DF7D #7DC2DF
split-complementary
#CB7DDF #C2DF7D #7DDF9A
monochromatic
#992DB5 #B74CD3 #CB7DDF #DFAEEB #F2DFF7

Accessibility & contrast

On white

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

On black

7.54
#CB7DDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DDF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DDF#FFFFFF#000000##000000
##CB7DDF1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E2
Deuteranopia (green-blind)
#839EDC
Tritanopia (blue-blind)
#CC8AA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7ddf;
/* rgb */ color: rgb(203, 125, 223);
/* oklch */ color: oklch(70.8% 0.160 319.2);
Tailwind
colors: {
  custom: {
    50: '#dca4e9',
    500: '#cb7ddf',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ddf;
$custom-light: #dca4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ddf",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 287.755,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70774,
    "c": 0.15985,
    "h": 319.2
  },
  "luminance": 0.32691
}

Semantic roles & 50–950 ramp

primary
#CB7DDF
secondary
#D3EBCD
accent
#C81D40
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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