#CB8AEF#CB8AEF

#CB8AEF is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.6% C 0.156 H 312.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CB8AEF
RGBrgb(203, 138, 239)
HSLhsl(279, 76%, 74%)
HSVhsv(279, 42%, 94%)
CMYKcmyk(15.1%, 42.3%, 0%, 6.3%)
CIE-LABlab(67.36, 42.42, -41.31)
CIE-LCHlch(67.36, 59.21, 315.76°)
OKLaboklab(73.58% 0.1055 -0.1144)
OKLCHoklch(73.58% 0.156 312.7)
XYZxyz(49.2944, 37.1064, 86.2101)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8AEF #AEEF8A
analogous
#998AEF #CB8AEF #EF8AE1
triadic
#CB8AEF #EFCB8A #8AEFCB
tetradic
#CB8AEF #EF998A #AEEF8A #8AE1EF
square
#CB8AEF #EF998A #AEEF8A #8AE1EF
split-complementary
#CB8AEF #E1EF8A #8AEF99
monochromatic
#9B1FE0 #B354E8 #CB8AEF #E3C0F6 #F3E4FB

Accessibility & contrast

On white

2.49
#CB8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#CB8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8AEF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8AEF#FFFFFF#000000##000000
##CB8AEF1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#C899B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb8aef;
/* rgb */ color: rgb(203, 138, 239);
/* oklch */ color: oklch(73.6% 0.156 312.7);
Tailwind
colors: {
  custom: {
    50: '#dcadf4',
    500: '#cb8aef',
    950: '#000000',
  },
}
SCSS
$custom: #cb8aef;
$custom-light: #dcadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8aef",
  "rgb": {
    "r": 203,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 278.614,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73585,
    "c": 0.15565,
    "h": 312.7
  },
  "luminance": 0.37105
}

Semantic roles & 50–950 ramp

primary
#CB8AEF
secondary
#E2F3D8
accent
#D80D56
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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