#CB9EF8#CB9EF8

#CB9EF8 is a light, vivid violet. Relative luminance 0.439; OKLCH L 77.4% C 0.133 H 306.5°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CB9EF8
RGBrgb(203, 158, 248)
HSLhsl(270, 87%, 80%)
HSVhsv(270, 36%, 97%)
CMYKcmyk(18.1%, 36.3%, 0%, 2.7%)
CIE-LABlab(72.18, 33.50, -38.70)
CIE-LCHlch(72.18, 51.18, 310.89°)
OKLaboklab(77.35% 0.0792 -0.107)
OKLCHoklch(77.35% 0.133 306.5)
XYZxyz(53.7954, 43.9279, 94.4337)
Luminance0.4393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EF8 #CBF89E
analogous
#9E9EF8 #CB9EF8 #F89EF8
triadic
#CB9EF8 #F8CB9E #9EF8CB
tetradic
#CB9EF8 #F89E9E #CBF89E #9EF8F8
square
#CB9EF8 #F89E9E #CBF89E #9EF8F8
split-complementary
#CB9EF8 #F8F89E #9EF89E
monochromatic
#8E2CF0 #AC65F4 #CB9EF8 #EAD7FC #F0E2FD

Accessibility & contrast

On white

2.15
#CB9EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#CB9EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EF8
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EF8#FFFFFF#000000##000000
##CB9EF81.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAFFB
Deuteranopia (green-blind)
#95B1F5
Tritanopia (blue-blind)
#C5ACC0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cb9ef8;
/* rgb */ color: rgb(203, 158, 248);
/* oklch */ color: oklch(77.4% 0.133 306.5);
Tailwind
colors: {
  custom: {
    50: '#dcbbfb',
    500: '#cb9ef8',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ef8;
$custom-light: #dcbbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ef8",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 270,
    "s": 86.538,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77352,
    "c": 0.13313,
    "h": 306.5
  },
  "luminance": 0.43928
}

Semantic roles & 50–950 ramp

primary
#CB9EF8
secondary
#E6F5D6
accent
#E30273
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CB9EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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