#CB9FFB#CB9FFB

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

Color values

HEX#CB9FFB
RGBrgb(203, 159, 251)
HSLhsl(269, 92%, 80%)
HSVhsv(269, 37%, 98%)
CMYKcmyk(19.1%, 36.7%, 0%, 1.6%)
CIE-LABlab(72.53, 33.62, -39.77)
CIE-LCHlch(72.53, 52.08, 310.20°)
OKLaboklab(77.66% 0.0784 -0.1101)
OKLCHoklch(77.66% 0.135 305.4)
XYZxyz(54.4358, 44.4581, 96.9616)
Luminance0.4446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9FFB #CFFB9F
analogous
#9FA1FB #CB9FFB #F99FFB
triadic
#CB9FFB #FBCB9F #9FFBCB
tetradic
#CB9FFB #FB9FA1 #CFFB9F #9FFBF9
square
#CB9FFB #FB9FA1 #CFFB9F #9FFBF9
split-complementary
#CB9FFB #FBF99F #A1FB9F
monochromatic
#8B29F6 #AB64F9 #CB9FFB #EBDAFD #EFE2FE

Accessibility & contrast

On white

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

On black

9.89
#CB9FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9FFB
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9FFB#FFFFFF#000000##000000
##CB9FFB1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FF
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#C4ADC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cb9ffb;
/* rgb */ color: rgb(203, 159, 251);
/* oklch */ color: oklch(77.7% 0.135 305.4);
Tailwind
colors: {
  custom: {
    50: '#dcbcfd',
    500: '#cb9ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cb9ffb;
$custom-light: #dcbcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9ffb",
  "rgb": {
    "r": 203,
    "g": 159,
    "b": 251
  },
  "hsl": {
    "h": 268.696,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77662,
    "c": 0.13519,
    "h": 305.4
  },
  "luminance": 0.44458
}

Semantic roles & 50–950 ramp

primary
#CB9FFB
secondary
#E6F6D5
accent
#E60078
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CB9FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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