#CB9AED#CB9AED

#CB9AED is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.2% C 0.126 H 310.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CB9AED
RGBrgb(203, 154, 237)
HSLhsl(275, 70%, 77%)
HSVhsv(275, 35%, 93%)
CMYKcmyk(14.3%, 35%, 0%, 7.1%)
CIE-LABlab(70.82, 33.32, -34.82)
CIE-LCHlch(70.82, 48.20, 313.74°)
OKLaboklab(76.17% 0.0824 -0.0959)
OKLCHoklch(76.17% 0.126 310.7)
XYZxyz(51.4676, 41.9228, 85.4849)
Luminance0.4192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9AED #BCED9A
analogous
#A29AED #CB9AED #ED9AE5
triadic
#CB9AED #EDCB9A #9AEDCB
tetradic
#CB9AED #EDA29A #BCED9A #9AE5ED
square
#CB9AED #EDA29A #BCED9A #9AE5ED
split-complementary
#CB9AED #E5ED9A #9AEDA2
monochromatic
#9632DA #B066E4 #CB9AED #E6CEF6 #F2E5FA

Accessibility & contrast

On white

2.24
#CB9AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#CB9AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9AED
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9AED#FFFFFF#000000##000000
##CB9AED1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF0
Deuteranopia (green-blind)
#96AEEB
Tritanopia (blue-blind)
#C7A6B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb9aed;
/* rgb */ color: rgb(203, 154, 237);
/* oklch */ color: oklch(76.2% 0.126 310.7);
Tailwind
colors: {
  custom: {
    50: '#dcb8f3',
    500: '#cb9aed',
    950: '#000000',
  },
}
SCSS
$custom: #cb9aed;
$custom-light: #dcb8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9aed",
  "rgb": {
    "r": 203,
    "g": 154,
    "b": 237
  },
  "hsl": {
    "h": 275.422,
    "s": 69.748,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7617,
    "c": 0.12643,
    "h": 310.7
  },
  "luminance": 0.41922
}

Semantic roles & 50–950 ramp

primary
#CB9AED
secondary
#E3F2D9
accent
#D21462
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB9AED

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

Preview Lab → · Contrast checker → · Palette generator →

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