#CB9EFD#CB9EFD

#CB9EFD is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.6% C 0.139 H 305.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#CB9EFD
RGBrgb(203, 158, 253)
HSLhsl(268, 96%, 81%)
HSVhsv(268, 38%, 99%)
CMYKcmyk(19.8%, 37.5%, 0%, 0.8%)
CIE-LABlab(72.39, 34.60, -41.08)
CIE-LCHlch(72.39, 53.71, 310.11°)
OKLaboklab(77.58% 0.0802 -0.1139)
OKLCHoklch(77.58% 0.139 305.2)
XYZxyz(54.5815, 44.2423, 98.5736)
Luminance0.4424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EFD #D0FD9E
analogous
#9EA0FD #CB9EFD #FB9EFD
triadic
#CB9EFD #FDCB9E #9EFDCB
tetradic
#CB9EFD #FD9EA0 #D0FD9E #9EFDFB
square
#CB9EFD #FD9EA0 #D0FD9E #9EFDFB
split-complementary
#CB9EFD #FDFB9E #A0FD9E
monochromatic
#8B26FB #AB62FC #CB9EFD #EBDAFE #EFE1FE

Accessibility & contrast

On white

2.13
#CB9EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#CB9EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EFD
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EFD#FFFFFF#000000##000000
##CB9EFD1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#C3ADC2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cb9efd;
/* rgb */ color: rgb(203, 158, 253);
/* oklch */ color: oklch(77.6% 0.139 305.2);
Tailwind
colors: {
  custom: {
    50: '#dcbbfe',
    500: '#cb9efd',
    950: '#000000',
  },
}
SCSS
$custom: #cb9efd;
$custom-light: #dcbbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9efd",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 268.421,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77581,
    "c": 0.13931,
    "h": 305.2
  },
  "luminance": 0.44242
}

Semantic roles & 50–950 ramp

primary
#CB9EFD
secondary
#E6F7D4
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CB9EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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