#CB9EFA#CB9EFA

#CB9EFA is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.4% C 0.136 H 305.9°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CB9EFA
RGBrgb(203, 158, 250)
HSLhsl(269, 90%, 80%)
HSVhsv(269, 37%, 98%)
CMYKcmyk(18.8%, 36.8%, 0%, 2%)
CIE-LABlab(72.26, 33.94, -39.65)
CIE-LCHlch(72.26, 52.20, 310.57°)
OKLaboklab(77.44% 0.0796 -0.1098)
OKLCHoklch(77.44% 0.136 305.9)
XYZxyz(54.1074, 44.0527, 96.0765)
Luminance0.4405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9EFA #CDFA9E
analogous
#9E9FFA #CB9EFA #F99EFA
triadic
#CB9EFA #FACB9E #9EFACB
tetradic
#CB9EFA #FA9E9F #CDFA9E #9EFAF9
square
#CB9EFA #FA9E9F #CDFA9E #9EFAF9
split-complementary
#CB9EFA #FAF99E #9FFA9E
monochromatic
#8D2AF4 #AC64F7 #CB9EFA #EAD8FD #EFE2FD

Accessibility & contrast

On white

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

On black

9.81
#CB9EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9EFA
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9EFA#FFFFFF#000000##000000
##CB9EFA1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb9efa;
/* rgb */ color: rgb(203, 158, 250);
/* oklch */ color: oklch(77.4% 0.136 305.9);
Tailwind
colors: {
  custom: {
    50: '#dcbbfc',
    500: '#cb9efa',
    950: '#000000',
  },
}
SCSS
$custom: #cb9efa;
$custom-light: #dcbbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9efa",
  "rgb": {
    "r": 203,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 269.348,
    "s": 90.196,
    "l": 80
  },
  "oklch": {
    "l": 0.77443,
    "c": 0.1356,
    "h": 305.9
  },
  "luminance": 0.44052
}

Semantic roles & 50–950 ramp

primary
#CB9EFA
secondary
#E6F6D5
accent
#E60075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CB9EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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