#CB8AED#CB8AED

#CB8AED is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.5% C 0.153 H 313.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CB8AED
RGBrgb(203, 138, 237)
HSLhsl(279, 73%, 74%)
HSVhsv(279, 42%, 93%)
CMYKcmyk(14.3%, 41.8%, 0%, 7.1%)
CIE-LABlab(67.27, 42.00, -40.34)
CIE-LCHlch(67.27, 58.24, 316.15°)
OKLaboklab(73.49% 0.1052 -0.1117)
OKLCHoklch(73.49% 0.153 313.3)
XYZxyz(49.0006, 36.9889, 84.6626)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8AED #ACED8A
analogous
#998AED #CB8AED #ED8ADD
triadic
#CB8AED #EDCB8A #8AEDCB
tetradic
#CB8AED #ED998A #ACED8A #8ADDED
square
#CB8AED #ED998A #ACED8A #8ADDED
split-complementary
#CB8AED #DDED8A #8AED99
monochromatic
#9B22DB #B355E5 #CB8AED #E3BFF5 #F3E4FB

Accessibility & contrast

On white

2.50
#CB8AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#CB8AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8AED
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8AED#FFFFFF#000000##000000
##CB8AED1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F1
Deuteranopia (green-blind)
#88A5EA
Tritanopia (blue-blind)
#C898B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb8aed;
/* rgb */ color: rgb(203, 138, 237);
/* oklch */ color: oklch(73.5% 0.153 313.3);
Tailwind
colors: {
  custom: {
    50: '#dcadf3',
    500: '#cb8aed',
    950: '#000000',
  },
}
SCSS
$custom: #cb8aed;
$custom-light: #dcadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8aed",
  "rgb": {
    "r": 203,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 279.394,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7349,
    "c": 0.15338,
    "h": 313.3
  },
  "luminance": 0.36988
}

Semantic roles & 50–950 ramp

primary
#CB8AED
secondary
#E1F3D8
accent
#D51054
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8AED

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

Preview Lab → · Contrast checker → · Palette generator →

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