#CB9BFB#CB9BFB

#CB9BFB is a light, vivid violet. Relative luminance 0.431; OKLCH L 77.0% C 0.142 H 306.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#CB9BFB
RGBrgb(203, 155, 251)
HSLhsl(270, 92%, 80%)
HSVhsv(270, 38%, 98%)
CMYKcmyk(19.1%, 38.2%, 0%, 1.6%)
CIE-LABlab(71.63, 35.80, -41.19)
CIE-LCHlch(71.63, 54.57, 311.00°)
OKLaboklab(76.97% 0.084 -0.1142)
OKLCHoklch(76.97% 0.142 306.3)
XYZxyz(53.7591, 43.1046, 96.7360)
Luminance0.4310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9BFB #CBFB9B
analogous
#9B9BFB #CB9BFB #FB9BFB
triadic
#CB9BFB #FBCB9B #9BFBCB
tetradic
#CB9BFB #FB9B9B #CBFB9B #9BFBFB
square
#CB9BFB #FB9B9B #CBFB9B #9BFBFB
split-complementary
#CB9BFB #FBFB9B #9BFB9B
monochromatic
#8E25F6 #AC60F9 #CB9BFB #EAD6FD #F0E2FE

Accessibility & contrast

On white

2.18
#CB9BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#CB9BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9BFB
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9BFB#FFFFFF#000000##000000
##CB9BFB1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#C4AABF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cb9bfb;
/* rgb */ color: rgb(203, 155, 251);
/* oklch */ color: oklch(77.0% 0.142 306.3);
Tailwind
colors: {
  custom: {
    50: '#dcb9fd',
    500: '#cb9bfb',
    950: '#000000',
  },
}
SCSS
$custom: #cb9bfb;
$custom-light: #dcb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9bfb",
  "rgb": {
    "r": 203,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 270,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76974,
    "c": 0.14175,
    "h": 306.3
  },
  "luminance": 0.43104
}

Semantic roles & 50–950 ramp

primary
#CB9BFB
secondary
#E6F6D5
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB9BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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