#CB7AE2#CB7AE2

#CB7AE2 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.168 H 318.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CB7AE2
RGBrgb(203, 122, 226)
HSLhsl(287, 64%, 68%)
HSVhsv(287, 46%, 89%)
CMYKcmyk(10.2%, 46%, 0%, 11.4%)
CIE-LABlab(63.43, 48.22, -40.26)
CIE-LCHlch(63.43, 62.82, 320.14°)
OKLaboklab(70.46% 0.1258 -0.1113)
OKLCHoklch(70.46% 0.168 318.5)
XYZxyz(45.3138, 32.1081, 75.7473)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7AE2 #91E27A
analogous
#977AE2 #CB7AE2 #E27AC5
triadic
#CB7AE2 #E2CB7A #7AE2CB
tetradic
#CB7AE2 #E2977A #91E27A #7AC5E2
square
#CB7AE2 #E2977A #91E27A #7AC5E2
split-complementary
#CB7AE2 #C5E27A #7AE297
monochromatic
#9928B9 #B748D7 #CB7AE2 #DFACED #F2DEF8

Accessibility & contrast

On white

2.83
#CB7AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CB7AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7AE2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7AE2#FFFFFF#000000##000000
##CB7AE21.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6994E6
Deuteranopia (green-blind)
#7F9CDF
Tritanopia (blue-blind)
#CB88A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7ae2;
/* rgb */ color: rgb(203, 122, 226);
/* oklch */ color: oklch(70.5% 0.168 318.5);
Tailwind
colors: {
  custom: {
    50: '#dda2eb',
    500: '#cb7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ae2;
$custom-light: #dda2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ae2",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 286.731,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7046,
    "c": 0.16796,
    "h": 318.5
  },
  "luminance": 0.32107
}

Semantic roles & 50–950 ramp

primary
#CB7AE2
secondary
#D3ECCC
accent
#CC1941
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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