#CB7DEB#CB7DEB

#CB7DEB is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.4% C 0.173 H 315.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CB7DEB
RGBrgb(203, 125, 235)
HSLhsl(283, 73%, 71%)
HSVhsv(283, 47%, 92%)
CMYKcmyk(13.6%, 46.8%, 0%, 7.8%)
CIE-LABlab(64.45, 48.48, -43.65)
CIE-LCHlch(64.45, 65.24, 318.00°)
OKLaboklab(71.36% 0.1229 -0.1211)
OKLCHoklch(71.36% 0.173 315.4)
XYZxyz(46.9553, 33.3632, 82.5474)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DEB #9DEB7D
analogous
#947DEB #CB7DEB #EB7DD4
triadic
#CB7DEB #EBCB7D #7DEBCB
tetradic
#CB7DEB #EB947D #9DEB7D #7DD4EB
square
#CB7DEB #EB947D #9DEB7D #7DD4EB
split-complementary
#CB7DEB #D4EB7D #7DEB94
monochromatic
#9B20CE #B648E3 #CB7DEB #E0B2F3 #F4E4FB

Accessibility & contrast

On white

2.74
#CB7DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CB7DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DEB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DEB#FFFFFF#000000##000000
##CB7DEB1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798EF
Deuteranopia (green-blind)
#7D9FE8
Tritanopia (blue-blind)
#C98DA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7deb;
/* rgb */ color: rgb(203, 125, 235);
/* oklch */ color: oklch(71.4% 0.173 315.4);
Tailwind
colors: {
  custom: {
    50: '#dda5f2',
    500: '#cb7deb',
    950: '#000000',
  },
}
SCSS
$custom: #cb7deb;
$custom-light: #dda5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7deb",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 282.545,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71356,
    "c": 0.1726,
    "h": 315.4
  },
  "luminance": 0.33362
}

Semantic roles & 50–950 ramp

primary
#CB7DEB
secondary
#DCF1D3
accent
#D51049
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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