#CB9FFA#CB9FFA

#CB9FFA is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.6% C 0.134 H 305.7°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CB9FFA
RGBrgb(203, 159, 250)
HSLhsl(269, 90%, 80%)
HSVhsv(269, 36%, 98%)
CMYKcmyk(18.8%, 36.4%, 0%, 2%)
CIE-LABlab(72.49, 33.40, -39.30)
CIE-LCHlch(72.49, 51.57, 310.36°)
OKLaboklab(77.62% 0.0782 -0.1088)
OKLCHoklch(77.62% 0.134 305.7)
XYZxyz(54.2786, 44.3952, 96.1336)
Luminance0.4440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9FFA #CEFA9F
analogous
#9FA0FA #CB9FFA #F89FFA
triadic
#CB9FFA #FACB9F #9FFACB
tetradic
#CB9FFA #FA9FA0 #CEFA9F #9FFAF8
square
#CB9FFA #FA9FA0 #CEFA9F #9FFAF8
split-complementary
#CB9FFA #FAF89F #A0FA9F
monochromatic
#8C2BF4 #AB65F7 #CB9FFA #EBD9FD #EFE2FD

Accessibility & contrast

On white

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

On black

9.88
#CB9FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9FFA
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9FFA#FFFFFF#000000##000000
##CB9FFA1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FE
Deuteranopia (green-blind)
#95B2F7
Tritanopia (blue-blind)
#C4ADC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cb9ffa;
/* rgb */ color: rgb(203, 159, 250);
/* oklch */ color: oklch(77.6% 0.134 305.7);
Tailwind
colors: {
  custom: {
    50: '#dcbcfc',
    500: '#cb9ffa',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ffa;
$custom-light: #dcbcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ffa",
  "rgb": {
    "r": 203,
    "g": 159,
    "b": 250
  },
  "hsl": {
    "h": 269.011,
    "s": 90.099,
    "l": 80.196
  },
  "oklch": {
    "l": 0.77616,
    "c": 0.13396,
    "h": 305.7
  },
  "luminance": 0.44395
}

Semantic roles & 50–950 ramp

primary
#CB9FFA
secondary
#E6F6D5
accent
#E60077
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CB9FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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