#CB7AE8#CB7AE8

#CB7AE8 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.174 H 316.6°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CB7AE8
RGBrgb(203, 122, 232)
HSLhsl(284, 71%, 69%)
HSVhsv(284, 47%, 91%)
CMYKcmyk(12.5%, 47.4%, 0%, 9%)
CIE-LABlab(63.71, 49.43, -43.16)
CIE-LCHlch(63.71, 65.62, 318.87°)
OKLaboklab(70.76% 0.1266 -0.1197)
OKLCHoklch(70.76% 0.174 316.6)
XYZxyz(46.1515, 32.4432, 80.1593)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7AE8 #97E87A
analogous
#947AE8 #CB7AE8 #E87ACE
triadic
#CB7AE8 #E8CB7A #7AE8CB
tetradic
#CB7AE8 #E8947A #97E87A #7ACEE8
square
#CB7AE8 #E8947A #97E87A #7ACEE8
split-complementary
#CB7AE8 #CEE87A #7AE894
monochromatic
#9A22C5 #B746DF #CB7AE8 #DFAEF1 #F4E2FA

Accessibility & contrast

On white

2.80
#CB7AE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CB7AE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7AE8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7AE8#FFFFFF#000000##000000
##CB7AE81.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EC
Deuteranopia (green-blind)
#7C9DE5
Tritanopia (blue-blind)
#CA8AA6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7ae8;
/* rgb */ color: rgb(203, 122, 232);
/* oklch */ color: oklch(70.8% 0.174 316.6);
Tailwind
colors: {
  custom: {
    50: '#dda3f0',
    500: '#cb7ae8',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ae8;
$custom-light: #dda3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ae8",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 284.182,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70755,
    "c": 0.17427,
    "h": 316.6
  },
  "luminance": 0.32442
}

Semantic roles & 50–950 ramp

primary
#CB7AE8
secondary
#D7EFCF
accent
#D31345
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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