#CB9BF2#CB9BF2

#CB9BF2 is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.6% C 0.131 H 308.9°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CB9BF2
RGBrgb(203, 155, 242)
HSLhsl(273, 77%, 78%)
HSVhsv(273, 36%, 95%)
CMYKcmyk(16.1%, 36%, 0%, 5.1%)
CIE-LABlab(71.25, 33.84, -36.88)
CIE-LCHlch(71.25, 50.05, 312.54°)
OKLaboklab(76.56% 0.0821 -0.1018)
OKLCHoklch(76.56% 0.131 308.9)
XYZxyz(52.3740, 42.5506, 89.4412)
Luminance0.4255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9BF2 #C2F29B
analogous
#9F9BF2 #CB9BF2 #F29BEE
triadic
#CB9BF2 #F2CB9B #9BF2CB
tetradic
#CB9BF2 #F29F9B #C2F29B #9BEEF2
square
#CB9BF2 #F29F9B #C2F29B #9BEEF2
split-complementary
#CB9BF2 #EEF29B #9BF29F
monochromatic
#932FE4 #AF65EB #CB9BF2 #E7D1F9 #F1E4FB

Accessibility & contrast

On white

2.21
#CB9BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#CB9BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9BF2
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9BF2#FFFFFF#000000##000000
##CB9BF21.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#95AFF0
Tritanopia (blue-blind)
#C6A8BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cb9bf2;
/* rgb */ color: rgb(203, 155, 242);
/* oklch */ color: oklch(76.6% 0.131 308.9);
Tailwind
colors: {
  custom: {
    50: '#dcb9f6',
    500: '#cb9bf2',
    950: '#000000',
  },
}
SCSS
$custom: #cb9bf2;
$custom-light: #dcb9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9bf2",
  "rgb": {
    "r": 203,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 273.103,
    "s": 76.991,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76564,
    "c": 0.13078,
    "h": 308.9
  },
  "luminance": 0.4255
}

Semantic roles & 50–950 ramp

primary
#CB9BF2
secondary
#E4F3D8
accent
#D90C68
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CB9BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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