#CB7BEA#CB7BEA

#CB7BEA is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.0% C 0.175 H 315.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CB7BEA
RGBrgb(203, 123, 234)
HSLhsl(283, 73%, 70%)
HSVhsv(283, 47%, 92%)
CMYKcmyk(13.2%, 47.4%, 0%, 8.2%)
CIE-LABlab(64.00, 49.31, -43.81)
CIE-LCHlch(64.00, 65.96, 318.38°)
OKLaboklab(71% 0.1255 -0.1216)
OKLCHoklch(71% 0.175 315.9)
XYZxyz(46.5606, 32.8043, 81.7051)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7BEA #9AEA7B
analogous
#937BEA #CB7BEA #EA7BD2
triadic
#CB7BEA #EACB7B #7BEACB
tetradic
#CB7BEA #EA937B #9AEA7B #7BD2EA
square
#CB7BEA #EA937B #9AEA7B #7BD2EA
split-complementary
#CB7BEA #D2EA7B #7BEA93
monochromatic
#9B20CA #B646E2 #CB7BEA #E0B0F2 #F5E5FB

Accessibility & contrast

On white

2.78
#CB7BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CB7BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7BEA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7BEA#FFFFFF#000000##000000
##CB7BEA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EE
Deuteranopia (green-blind)
#7C9DE7
Tritanopia (blue-blind)
#CA8BA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7bea;
/* rgb */ color: rgb(203, 123, 234);
/* oklch */ color: oklch(71.0% 0.175 315.9);
Tailwind
colors: {
  custom: {
    50: '#dda3f1',
    500: '#cb7bea',
    950: '#000000',
  },
}
SCSS
$custom: #cb7bea;
$custom-light: #dda3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7bea",
  "rgb": {
    "r": 203,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 283.243,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.71004,
    "c": 0.17477,
    "h": 315.9
  },
  "luminance": 0.32803
}

Semantic roles & 50–950 ramp

primary
#CB7BEA
secondary
#DAF0D1
accent
#D51148
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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