#CB7AEE#CB7AEE

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

Color values

HEX#CB7AEE
RGBrgb(203, 122, 238)
HSLhsl(282, 77%, 71%)
HSVhsv(282, 49%, 93%)
CMYKcmyk(14.7%, 48.7%, 0%, 6.7%)
CIE-LABlab(63.99, 50.65, -46.04)
CIE-LCHlch(63.99, 68.45, 317.73°)
OKLaboklab(71.06% 0.1274 -0.128)
OKLCHoklch(71.06% 0.181 314.9)
XYZxyz(47.0183, 32.7899, 84.7246)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7AEE #9DEE7A
analogous
#917AEE #CB7AEE #EE7AD7
triadic
#CB7AEE #EECB7A #7AEECB
tetradic
#CB7AEE #EE917A #9DEE7A #7AD7EE
square
#CB7AEE #EE917A #9DEE7A #7AD7EE
split-complementary
#CB7AEE #D7EE7A #7AEE91
monochromatic
#9B1BD3 #B644E7 #CB7AEE #E0B0F5 #F4E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB7AEE#FFFFFF#000000##000000
##CB7AEE1.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)
#6196F2
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#C98CA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7aee;
/* rgb */ color: rgb(203, 122, 238);
/* oklch */ color: oklch(71.1% 0.181 314.9);
Tailwind
colors: {
  custom: {
    50: '#dda3f4',
    500: '#cb7aee',
    950: '#000000',
  },
}
SCSS
$custom: #cb7aee;
$custom-light: #dda3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7aee",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 281.897,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71057,
    "c": 0.18065,
    "h": 314.9
  },
  "luminance": 0.32789
}

Semantic roles & 50–950 ramp

primary
#CB7AEE
secondary
#DCF2D2
accent
#DA0C4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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