#CB7AE3#CB7AE3

#CB7AE3 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.5% C 0.169 H 318.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CB7AE3
RGBrgb(203, 122, 227)
HSLhsl(286, 65%, 68%)
HSVhsv(286, 46%, 89%)
CMYKcmyk(10.6%, 46.3%, 0%, 11%)
CIE-LABlab(63.48, 48.42, -40.75)
CIE-LCHlch(63.48, 63.28, 319.92°)
OKLaboklab(70.51% 0.1259 -0.1127)
OKLCHoklch(70.51% 0.169 318.2)
XYZxyz(45.4514, 32.1631, 76.4720)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7AE3 #92E37A
analogous
#967AE3 #CB7AE3 #E37AC6
triadic
#CB7AE3 #E3CB7A #7AE3CB
tetradic
#CB7AE3 #E3967A #92E37A #7AC6E3
square
#CB7AE3 #E3967A #92E37A #7AC6E3
split-complementary
#CB7AE3 #C6E37A #7AE396
monochromatic
#9927BB #B747D8 #CB7AE3 #DFADEE #F3DFF8

Accessibility & contrast

On white

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

On black

7.43
#CB7AE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7AE3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7AE3#FFFFFF#000000##000000
##CB7AE31.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E7
Deuteranopia (green-blind)
#7F9CE0
Tritanopia (blue-blind)
#CB88A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb7ae3;
/* rgb */ color: rgb(203, 122, 227);
/* oklch */ color: oklch(70.5% 0.169 318.2);
Tailwind
colors: {
  custom: {
    50: '#dda3ec',
    500: '#cb7ae3',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ae3;
$custom-light: #dda3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ae3",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 227
  },
  "hsl": {
    "h": 286.286,
    "s": 65.217,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70509,
    "c": 0.16902,
    "h": 318.2
  },
  "luminance": 0.32162
}

Semantic roles & 50–950 ramp

primary
#CB7AE3
secondary
#D4ECCD
accent
#CD1842
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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