#CB7BDF#CB7BDF

#CB7BDF is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.5% C 0.163 H 319.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CB7BDF
RGBrgb(203, 123, 223)
HSLhsl(288, 61%, 68%)
HSVhsv(288, 45%, 87%)
CMYKcmyk(9%, 44.8%, 0%, 12.5%)
CIE-LABlab(63.50, 47.11, -38.48)
CIE-LCHlch(63.50, 60.83, 320.75°)
OKLaboklab(70.47% 0.1239 -0.1062)
OKLCHoklch(70.47% 0.163 319.4)
XYZxyz(45.0291, 32.1917, 73.6394)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BDF #8FDF7B
analogous
#997BDF #CB7BDF #DF7BC1
triadic
#CB7BDF #DFCB7B #7BDFCB
tetradic
#CB7BDF #DF997B #8FDF7B #7BC1DF
square
#CB7BDF #DF997B #8FDF7B #7BC1DF
split-complementary
#CB7BDF #C1DF7B #7BDF99
monochromatic
#992CB4 #B84AD3 #CB7BDF #DEACEB #F2DEF7

Accessibility & contrast

On white

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

On black

7.44
#CB7BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BDF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BDF#FFFFFF#000000##000000
##CB7BDF1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E3
Deuteranopia (green-blind)
#829DDC
Tritanopia (blue-blind)
#CC88A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7bdf;
/* rgb */ color: rgb(203, 123, 223);
/* oklch */ color: oklch(70.5% 0.163 319.4);
Tailwind
colors: {
  custom: {
    50: '#dca3e9',
    500: '#cb7bdf',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bdf;
$custom-light: #dca3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bdf",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 288,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70467,
    "c": 0.16319,
    "h": 319.4
  },
  "luminance": 0.3219
}

Semantic roles & 50–950 ramp

primary
#CB7BDF
secondary
#D2EACB
accent
#C91D3F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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