#CB9EF9#CB9EF9

#CB9EF9 is a light, vivid violet. Relative luminance 0.440; OKLCH L 77.4% C 0.134 H 306.2°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CB9EF9
RGBrgb(203, 158, 249)
HSLhsl(270, 88%, 80%)
HSVhsv(270, 37%, 98%)
CMYKcmyk(18.5%, 36.5%, 0%, 2.4%)
CIE-LABlab(72.22, 33.72, -39.17)
CIE-LCHlch(72.22, 51.69, 310.72°)
OKLaboklab(77.4% 0.0794 -0.1084)
OKLCHoklch(77.4% 0.134 306.2)
XYZxyz(53.9510, 43.9901, 95.2529)
Luminance0.4399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EF9 #CCF99E
analogous
#9E9FF9 #CB9EF9 #F89EF9
triadic
#CB9EF9 #F9CB9E #9EF9CB
tetradic
#CB9EF9 #F99E9F #CCF99E #9EF9F8
square
#CB9EF9 #F99E9F #CCF99E #9EF9F8
split-complementary
#CB9EF9 #F9F89E #9FF99E
monochromatic
#8D2BF2 #AC64F5 #CB9EF9 #EAD8FD #F0E2FD

Accessibility & contrast

On white

2.14
#CB9EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#CB9EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EF9
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EF9#FFFFFF#000000##000000
##CB9EF91.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAFFC
Deuteranopia (green-blind)
#94B1F6
Tritanopia (blue-blind)
#C4ACC0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cb9ef9;
/* rgb */ color: rgb(203, 158, 249);
/* oklch */ color: oklch(77.4% 0.134 306.2);
Tailwind
colors: {
  custom: {
    50: '#dcbbfb',
    500: '#cb9ef9',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ef9;
$custom-light: #dcbbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ef9",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 249
  },
  "hsl": {
    "h": 269.67,
    "s": 88.35,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77398,
    "c": 0.13436,
    "h": 306.2
  },
  "luminance": 0.4399
}

Semantic roles & 50–950 ramp

primary
#CB9EF9
secondary
#E6F5D6
accent
#E50174
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CB9EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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