#CB7DEA#CB7DEA

#CB7DEA is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.172 H 315.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CB7DEA
RGBrgb(203, 125, 234)
HSLhsl(283, 72%, 70%)
HSVhsv(283, 47%, 92%)
CMYKcmyk(13.2%, 46.6%, 0%, 8.2%)
CIE-LABlab(64.41, 48.27, -43.17)
CIE-LCHlch(64.41, 64.76, 318.19°)
OKLaboklab(71.31% 0.1228 -0.1198)
OKLCHoklch(71.31% 0.172 315.7)
XYZxyz(46.8112, 33.3056, 81.7887)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DEA #9CEA7D
analogous
#957DEA #CB7DEA #EA7DD2
triadic
#CB7DEA #EACB7D #7DEACB
tetradic
#CB7DEA #EA957D #9CEA7D #7DD2EA
square
#CB7DEA #EA957D #9CEA7D #7DD2EA
split-complementary
#CB7DEA #D2EA7D #7DEA95
monochromatic
#9B21CC #B648E1 #CB7DEA #E0B2F3 #F4E5FB

Accessibility & contrast

On white

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

On black

7.66
#CB7DEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DEA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DEA#FFFFFF#000000##000000
##CB7DEA1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897EE
Deuteranopia (green-blind)
#7E9EE7
Tritanopia (blue-blind)
#C98DA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7dea;
/* rgb */ color: rgb(203, 125, 234);
/* oklch */ color: oklch(71.3% 0.172 315.7);
Tailwind
colors: {
  custom: {
    50: '#dda5f1',
    500: '#cb7dea',
    950: '#000000',
  },
}
SCSS
$custom: #cb7dea;
$custom-light: #dda5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7dea",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 234
  },
  "hsl": {
    "h": 282.936,
    "s": 72.185,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71306,
    "c": 0.17152,
    "h": 315.7
  },
  "luminance": 0.33304
}

Semantic roles & 50–950 ramp

primary
#CB7DEA
secondary
#DBF0D2
accent
#D41149
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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