#CB8EEF#CB8EEF

#CB8EEF is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.2% C 0.149 H 312.1°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#CB8EEF
RGBrgb(203, 142, 239)
HSLhsl(278, 75%, 75%)
HSVhsv(278, 41%, 94%)
CMYKcmyk(15.1%, 40.6%, 0%, 6.3%)
CIE-LABlab(68.22, 40.27, -39.95)
CIE-LCHlch(68.22, 56.73, 315.23°)
OKLaboklab(74.24% 0.0999 -0.1106)
OKLCHoklch(74.24% 0.149 312.1)
XYZxyz(49.8789, 38.2754, 86.4049)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8EEF #B2EF8E
analogous
#9B8EEF #CB8EEF #EF8EE3
triadic
#CB8EEF #EFCB8E #8EEFCB
tetradic
#CB8EEF #EF9B8E #B2EF8E #8EE3EF
square
#CB8EEF #EF9B8E #B2EF8E #8EE3EF
split-complementary
#CB8EEF #E3EF8E #8EEF9B
monochromatic
#9A23E0 #B258E7 #CB8EEF #E4C4F7 #F3E4FB

Accessibility & contrast

On white

2.43
#CB8EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#CB8EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8EEF
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8EEF#FFFFFF#000000##000000
##CB8EEF1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F3
Deuteranopia (green-blind)
#8AA8EC
Tritanopia (blue-blind)
#C89CB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8eef;
/* rgb */ color: rgb(203, 142, 239);
/* oklch */ color: oklch(74.2% 0.149 312.1);
Tailwind
colors: {
  custom: {
    50: '#dcb0f4',
    500: '#cb8eef',
    950: '#000000',
  },
}
SCSS
$custom: #cb8eef;
$custom-light: #dcb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8eef",
  "rgb": {
    "r": 203,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 277.732,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74236,
    "c": 0.149,
    "h": 312.1
  },
  "luminance": 0.38275
}

Semantic roles & 50–950 ramp

primary
#CB8EEF
secondary
#E2F3D8
accent
#D70E59
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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