#CB7AE5#CB7AE5

#CB7AE5 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.6% C 0.171 H 317.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CB7AE5
RGBrgb(203, 122, 229)
HSLhsl(285, 67%, 69%)
HSVhsv(285, 47%, 90%)
CMYKcmyk(11.4%, 46.7%, 0%, 10.2%)
CIE-LABlab(63.57, 48.82, -41.72)
CIE-LCHlch(63.57, 64.22, 319.49°)
OKLaboklab(70.61% 0.1262 -0.1155)
OKLCHoklch(70.61% 0.171 317.5)
XYZxyz(45.7290, 32.2742, 77.9342)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7AE5 #94E57A
analogous
#967AE5 #CB7AE5 #E57ACA
triadic
#CB7AE5 #E5CB7A #7AE5CB
tetradic
#CB7AE5 #E5967A #94E57A #7ACAE5
square
#CB7AE5 #E5967A #94E57A #7ACAE5
split-complementary
#CB7AE5 #CAE57A #7AE596
monochromatic
#9A25BF #B747DB #CB7AE5 #DFADEF #F3E0F9

Accessibility & contrast

On white

2.82
#CB7AE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CB7AE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7AE5
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7AE5#FFFFFF#000000##000000
##CB7AE51.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6795E9
Deuteranopia (green-blind)
#7E9DE2
Tritanopia (blue-blind)
#CB89A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7ae5;
/* rgb */ color: rgb(203, 122, 229);
/* oklch */ color: oklch(70.6% 0.171 317.5);
Tailwind
colors: {
  custom: {
    50: '#dda3ed',
    500: '#cb7ae5',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ae5;
$custom-light: #dda3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ae5",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 285.421,
    "s": 67.296,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70607,
    "c": 0.17111,
    "h": 317.5
  },
  "luminance": 0.32273
}

Semantic roles & 50–950 ramp

primary
#CB7AE5
secondary
#D5EDCE
accent
#CF1643
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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