#CB7AE7#CB7AE7

#CB7AE7 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.7% C 0.173 H 316.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CB7AE7
RGBrgb(203, 122, 231)
HSLhsl(285, 69%, 69%)
HSVhsv(285, 47%, 91%)
CMYKcmyk(12.1%, 47.2%, 0%, 9.4%)
CIE-LABlab(63.66, 49.22, -42.68)
CIE-LCHlch(63.66, 65.15, 319.07°)
OKLaboklab(70.71% 0.1265 -0.1183)
OKLCHoklch(70.71% 0.173 316.9)
XYZxyz(46.0098, 32.3865, 79.4134)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7AE7 #96E77A
analogous
#957AE7 #CB7AE7 #E77ACD
triadic
#CB7AE7 #E7CB7A #7AE7CB
tetradic
#CB7AE7 #E7957A #96E77A #7ACDE7
square
#CB7AE7 #E7957A #96E77A #7ACDE7
split-complementary
#CB7AE7 #CDE77A #7AE795
monochromatic
#9A23C3 #B746DE #CB7AE7 #DFAEF0 #F4E2FA

Accessibility & contrast

On white

2.81
#CB7AE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CB7AE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7AE7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7AE7#FFFFFF#000000##000000
##CB7AE71.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6695EB
Deuteranopia (green-blind)
#7D9DE4
Tritanopia (blue-blind)
#CA8AA6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7ae7;
/* rgb */ color: rgb(203, 122, 231);
/* oklch */ color: oklch(70.7% 0.173 316.9);
Tailwind
colors: {
  custom: {
    50: '#dda3ef',
    500: '#cb7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ae7;
$custom-light: #dda3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ae7",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 284.587,
    "s": 69.427,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70705,
    "c": 0.17321,
    "h": 316.9
  },
  "luminance": 0.32385
}

Semantic roles & 50–950 ramp

primary
#CB7AE7
secondary
#D7EECF
accent
#D11445
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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