#CB8AEC#CB8AEC

#CB8AEC is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.4% C 0.152 H 313.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CB8AEC
RGBrgb(203, 138, 236)
HSLhsl(280, 72%, 73%)
HSVhsv(280, 42%, 93%)
CMYKcmyk(14%, 41.5%, 0%, 7.5%)
CIE-LABlab(67.22, 41.79, -39.86)
CIE-LCHlch(67.22, 57.76, 316.36°)
OKLaboklab(73.44% 0.105 -0.1103)
OKLCHoklch(73.44% 0.152 313.6)
XYZxyz(48.8549, 36.9306, 83.8953)
Luminance0.3693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8AEC #ABEC8A
analogous
#9A8AEC #CB8AEC #EC8ADC
triadic
#CB8AEC #ECCB8A #8AECCB
tetradic
#CB8AEC #EC9A8A #ABEC8A #8ADCEC
square
#CB8AEC #EC9A8A #ABEC8A #8ADCEC
split-complementary
#CB8AEC #DCEC8A #8AEC9A
monochromatic
#9B23D8 #B455E3 #CB8AEC #E2BFF5 #F3E5FB

Accessibility & contrast

On white

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

On black

8.39
#CB8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8AEC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8AEC#FFFFFF#000000##000000
##CB8AEC1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0F0
Deuteranopia (green-blind)
#88A5E9
Tritanopia (blue-blind)
#C898B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb8aec;
/* rgb */ color: rgb(203, 138, 236);
/* oklch */ color: oklch(73.4% 0.152 313.6);
Tailwind
colors: {
  custom: {
    50: '#dcadf2',
    500: '#cb8aec',
    950: '#000000',
  },
}
SCSS
$custom: #cb8aec;
$custom-light: #dcadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8aec",
  "rgb": {
    "r": 203,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 279.796,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73442,
    "c": 0.15224,
    "h": 313.6
  },
  "luminance": 0.3693
}

Semantic roles & 50–950 ramp

primary
#CB8AEC
secondary
#E1F2D9
accent
#D41153
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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