#CB9BFC#CB9BFC

#CB9BFC is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.0% C 0.143 H 306.1°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#CB9BFC
RGBrgb(203, 155, 252)
HSLhsl(270, 94%, 80%)
HSVhsv(270, 38%, 99%)
CMYKcmyk(19.4%, 38.5%, 0%, 1.2%)
CIE-LABlab(71.67, 36.02, -41.66)
CIE-LCHlch(71.67, 55.08, 310.85°)
OKLaboklab(77.02% 0.0842 -0.1156)
OKLCHoklch(77.02% 0.143 306.1)
XYZxyz(53.9171, 43.1678, 97.5684)
Luminance0.4317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9BFC #CCFC9B
analogous
#9B9BFC #CB9BFC #FC9BFC
triadic
#CB9BFC #FCCB9B #9BFCCB
tetradic
#CB9BFC #FC9B9B #CCFC9B #9BFCFC
square
#CB9BFC #FC9B9B #CCFC9B #9BFCFC
split-complementary
#CB9BFC #FCFC9B #9BFC9B
monochromatic
#8D24F8 #AC60FA #CB9BFC #EAD6FE #F0E1FE

Accessibility & contrast

On white

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

On black

9.63
#CB9BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9BFC
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9BFC#FFFFFF#000000##000000
##CB9BFC1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#90B0F9
Tritanopia (blue-blind)
#C4AAC0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cb9bfc;
/* rgb */ color: rgb(203, 155, 252);
/* oklch */ color: oklch(77.0% 0.143 306.1);
Tailwind
colors: {
  custom: {
    50: '#dcb9fd',
    500: '#cb9bfc',
    950: '#000000',
  },
}
SCSS
$custom: #cb9bfc;
$custom-light: #dcb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9bfc",
  "rgb": {
    "r": 203,
    "g": 155,
    "b": 252
  },
  "hsl": {
    "h": 269.691,
    "s": 94.175,
    "l": 79.804
  },
  "oklch": {
    "l": 0.7702,
    "c": 0.14298,
    "h": 306.1
  },
  "luminance": 0.43167
}

Semantic roles & 50–950 ramp

primary
#CB9BFC
secondary
#E6F6D5
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB9BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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