#CB7AEA#CB7AEA

#CB7AEA is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.176 H 316.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CB7AEA
RGBrgb(203, 122, 234)
HSLhsl(283, 73%, 70%)
HSVhsv(283, 48%, 92%)
CMYKcmyk(13.2%, 47.9%, 0%, 8.2%)
CIE-LABlab(63.80, 49.83, -44.13)
CIE-LCHlch(63.80, 66.56, 318.48°)
OKLaboklab(70.86% 0.1269 -0.1225)
OKLCHoklch(70.86% 0.176 316)
XYZxyz(46.4372, 32.5575, 81.6640)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7AEA #99EA7A
analogous
#937AEA #CB7AEA #EA7AD1
triadic
#CB7AEA #EACB7A #7AEACB
tetradic
#CB7AEA #EA937A #99EA7A #7AD1EA
square
#CB7AEA #EA937A #99EA7A #7AD1EA
split-complementary
#CB7AEA #D1EA7A #7AEA93
monochromatic
#9B20CA #B645E2 #CB7AEA #E0AFF2 #F4E4FB

Accessibility & contrast

On white

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

On black

7.51
#CB7AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7AEA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7AEA#FFFFFF#000000##000000
##CB7AEA1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EE
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#CA8AA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7aea;
/* rgb */ color: rgb(203, 122, 234);
/* oklch */ color: oklch(70.9% 0.176 316.0);
Tailwind
colors: {
  custom: {
    50: '#dda3f1',
    500: '#cb7aea',
    950: '#000000',
  },
}
SCSS
$custom: #cb7aea;
$custom-light: #dda3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7aea",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 283.393,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70855,
    "c": 0.17639,
    "h": 316
  },
  "luminance": 0.32556
}

Semantic roles & 50–950 ramp

primary
#CB7AEA
secondary
#D9F0D0
accent
#D51147
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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