#CB7AED#CB7AED

#CB7AED is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.0% C 0.180 H 315.1°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CB7AED
RGBrgb(203, 122, 237)
HSLhsl(282, 76%, 70%)
HSVhsv(282, 49%, 93%)
CMYKcmyk(14.3%, 48.5%, 0%, 7.1%)
CIE-LABlab(63.94, 50.45, -45.56)
CIE-LCHlch(63.94, 67.98, 317.91°)
OKLaboklab(71.01% 0.1273 -0.1267)
OKLCHoklch(71.01% 0.18 315.1)
XYZxyz(46.8718, 32.7313, 83.9530)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7AED #9CED7A
analogous
#917AED #CB7AED #ED7AD5
triadic
#CB7AED #EDCB7A #7AEDCB
tetradic
#CB7AED #ED917A #9CED7A #7AD5ED
square
#CB7AED #ED917A #9CED7A #7AD5ED
split-complementary
#CB7AED #D5ED7A #7AED91
monochromatic
#9B1CD0 #B644E6 #CB7AED #E0B0F4 #F4E4FB

Accessibility & contrast

On white

2.78
#CB7AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CB7AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7AED
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7AED#FFFFFF#000000##000000
##CB7AED1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F1
Deuteranopia (green-blind)
#7A9DEA
Tritanopia (blue-blind)
#C98BA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb7aed;
/* rgb */ color: rgb(203, 122, 237);
/* oklch */ color: oklch(71.0% 0.180 315.1);
Tailwind
colors: {
  custom: {
    50: '#dda3f3',
    500: '#cb7aed',
    950: '#000000',
  },
}
SCSS
$custom: #cb7aed;
$custom-light: #dda3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7aed",
  "rgb": {
    "r": 203,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 282.261,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71006,
    "c": 0.17958,
    "h": 315.1
  },
  "luminance": 0.3273
}

Semantic roles & 50–950 ramp

primary
#CB7AED
secondary
#DBF1D2
accent
#D80D49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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