#CB9EF3#CB9EF3

#CB9EF3 is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.1% C 0.127 H 307.9°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#CB9EF3
RGBrgb(203, 158, 243)
HSLhsl(272, 78%, 79%)
HSVhsv(272, 35%, 95%)
CMYKcmyk(16.5%, 35%, 0%, 4.7%)
CIE-LABlab(71.97, 32.42, -36.30)
CIE-LCHlch(71.97, 48.67, 311.77°)
OKLaboklab(77.13% 0.0781 -0.1002)
OKLCHoklch(77.13% 0.127 307.9)
XYZxyz(53.0301, 43.6218, 90.4028)
Luminance0.4362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EF3 #C6F39E
analogous
#A09EF3 #CB9EF3 #F39EF0
triadic
#CB9EF3 #F3CB9E #9EF3CB
tetradic
#CB9EF3 #F3A09E #C6F39E #9EF0F3
square
#CB9EF3 #F3A09E #C6F39E #9EF0F3
split-complementary
#CB9EF3 #F0F39E #9EF3A0
monochromatic
#9131E6 #AE68EC #CB9EF3 #E8D4FA #F0E4FC

Accessibility & contrast

On white

2.16
#CB9EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#CB9EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EF3
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EF3#FFFFFF#000000##000000
##CB9EF31.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAFF6
Deuteranopia (green-blind)
#97B1F1
Tritanopia (blue-blind)
#C6AABD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cb9ef3;
/* rgb */ color: rgb(203, 158, 243);
/* oklch */ color: oklch(77.1% 0.127 307.9);
Tailwind
colors: {
  custom: {
    50: '#dcbbf7',
    500: '#cb9ef3',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ef3;
$custom-light: #dcbbf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ef3",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 243
  },
  "hsl": {
    "h": 271.765,
    "s": 77.982,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77129,
    "c": 0.12698,
    "h": 307.9
  },
  "luminance": 0.43621
}

Semantic roles & 50–950 ramp

primary
#CB9EF3
secondary
#E5F3D8
accent
#DA0B6D
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #CB9EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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