#CB8EF4#CB8EF4

#CB8EF4 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.5% C 0.155 H 310.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CB8EF4
RGBrgb(203, 142, 244)
HSLhsl(276, 82%, 76%)
HSVhsv(276, 42%, 96%)
CMYKcmyk(16.8%, 41.8%, 0%, 4.3%)
CIE-LABlab(68.44, 41.33, -42.35)
CIE-LCHlch(68.44, 59.18, 314.31°)
OKLaboklab(74.47% 0.1008 -0.1175)
OKLCHoklch(74.47% 0.155 310.6)
XYZxyz(50.6278, 38.5750, 90.3491)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EF4 #B7F48E
analogous
#988EF4 #CB8EF4 #F48EEA
triadic
#CB8EF4 #F4CB8E #8EF4CB
tetradic
#CB8EF4 #F4988E #B7F48E #8EEAF4
square
#CB8EF4 #F4988E #B7F48E #8EEAF4
split-complementary
#CB8EF4 #EAF48E #8EF498
monochromatic
#981EE9 #B156EF #CB8EF4 #E5C6F9 #F2E3FC

Accessibility & contrast

On white

2.41
#CB8EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CB8EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EF4
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EF4#FFFFFF#000000##000000
##CB8EF41.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A4F8
Deuteranopia (green-blind)
#88A8F1
Tritanopia (blue-blind)
#C69DB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8ef4;
/* rgb */ color: rgb(203, 142, 244);
/* oklch */ color: oklch(74.5% 0.155 310.6);
Tailwind
colors: {
  custom: {
    50: '#dcb0f8',
    500: '#cb8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ef4;
$custom-light: #dcb0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ef4",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 275.882,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74472,
    "c": 0.15478,
    "h": 310.6
  },
  "luminance": 0.38574
}

Semantic roles & 50–950 ramp

primary
#CB8EF4
secondary
#E3F4D7
accent
#DF075E
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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