#CB9FFC#CB9FFC

#CB9FFC is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.7% C 0.136 H 305.2°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CB9FFC
RGBrgb(203, 159, 252)
HSLhsl(268, 94%, 81%)
HSVhsv(268, 37%, 99%)
CMYKcmyk(19.4%, 36.9%, 0%, 1.2%)
CIE-LABlab(72.58, 33.84, -40.25)
CIE-LCHlch(72.58, 52.58, 310.05°)
OKLaboklab(77.71% 0.0786 -0.1115)
OKLCHoklch(77.71% 0.136 305.2)
XYZxyz(54.5939, 44.5213, 97.7940)
Luminance0.4452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9FFC #D0FC9F
analogous
#9FA1FC #CB9FFC #F99FFC
triadic
#CB9FFC #FCCB9F #9FFCCB
tetradic
#CB9FFC #FC9FA1 #D0FC9F #9FFCF9
square
#CB9FFC #FC9FA1 #D0FC9F #9FFCF9
split-complementary
#CB9FFC #FCF99F #A1FC9F
monochromatic
#8B28F8 #AB64FA #CB9FFC #EBDAFE #EFE1FE

Accessibility & contrast

On white

2.12
#CB9FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#CB9FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9FFC
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9FFC#FFFFFF#000000##000000
##CB9FFC1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#94B2F9
Tritanopia (blue-blind)
#C4ADC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cb9ffc;
/* rgb */ color: rgb(203, 159, 252);
/* oklch */ color: oklch(77.7% 0.136 305.2);
Tailwind
colors: {
  custom: {
    50: '#dcbcfd',
    500: '#cb9ffc',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ffc;
$custom-light: #dcbcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ffc",
  "rgb": {
    "r": 203,
    "g": 159,
    "b": 252
  },
  "hsl": {
    "h": 268.387,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.77707,
    "c": 0.13644,
    "h": 305.2
  },
  "luminance": 0.44521
}

Semantic roles & 50–950 ramp

primary
#CB9FFC
secondary
#E6F6D5
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CB9FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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