#CB9EFB#CB9EFB

#CB9EFB is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.5% C 0.137 H 305.7°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#CB9EFB
RGBrgb(203, 158, 251)
HSLhsl(269, 92%, 80%)
HSVhsv(269, 37%, 98%)
CMYKcmyk(19.1%, 37.1%, 0%, 1.6%)
CIE-LABlab(72.31, 34.16, -40.13)
CIE-LCHlch(72.31, 52.70, 310.41°)
OKLaboklab(77.49% 0.0798 -0.1111)
OKLCHoklch(77.49% 0.137 305.7)
XYZxyz(54.2646, 44.1156, 96.9045)
Luminance0.4411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EFB #CEFB9E
analogous
#9EA0FB #CB9EFB #F99EFB
triadic
#CB9EFB #FBCB9E #9EFBCB
tetradic
#CB9EFB #FB9EA0 #CEFB9E #9EFBF9
square
#CB9EFB #FB9EA0 #CEFB9E #9EFBF9
split-complementary
#CB9EFB #FBF99E #A0FB9E
monochromatic
#8C28F6 #AB63F9 #CB9EFB #EBD9FD #EFE2FE

Accessibility & contrast

On white

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

On black

9.82
#CB9EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EFB
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EFB#FFFFFF#000000##000000
##CB9EFB1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#93B2F8
Tritanopia (blue-blind)
#C4ACC1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cb9efb;
/* rgb */ color: rgb(203, 158, 251);
/* oklch */ color: oklch(77.5% 0.137 305.7);
Tailwind
colors: {
  custom: {
    50: '#dcbbfd',
    500: '#cb9efb',
    950: '#000000',
  },
}
SCSS
$custom: #cb9efb;
$custom-light: #dcbbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9efb",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 269.032,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77489,
    "c": 0.13684,
    "h": 305.7
  },
  "luminance": 0.44115
}

Semantic roles & 50–950 ramp

primary
#CB9EFB
secondary
#E6F6D5
accent
#E60076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CB9EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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