#CB9BEF#CB9BEF

#CB9BEF is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.4% C 0.127 H 309.8°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CB9BEF
RGBrgb(203, 155, 239)
HSLhsl(274, 72%, 77%)
HSVhsv(274, 35%, 94%)
CMYKcmyk(15.1%, 35.1%, 0%, 6.3%)
CIE-LABlab(71.13, 33.20, -35.43)
CIE-LCHlch(71.13, 48.56, 313.14°)
OKLaboklab(76.43% 0.0814 -0.0977)
OKLCHoklch(76.43% 0.127 309.8)
XYZxyz(51.9271, 42.3718, 87.0877)
Luminance0.4237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9BEF #BFEF9B
analogous
#A19BEF #CB9BEF #EF9BE9
triadic
#CB9BEF #EFCB9B #9BEFCB
tetradic
#CB9BEF #EFA19B #BFEF9B #9BE9EF
square
#CB9BEF #EFA19B #BFEF9B #9BE9EF
split-complementary
#CB9BEF #E9EF9B #9BEFA1
monochromatic
#9431DE #B066E7 #CB9BEF #E6D0F7 #F1E5FB

Accessibility & contrast

On white

2.22
#CB9BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CB9BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9BEF
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9BEF#FFFFFF#000000##000000
##CB9BEF1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#96AFED
Tritanopia (blue-blind)
#C7A7BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cb9bef;
/* rgb */ color: rgb(203, 155, 239);
/* oklch */ color: oklch(76.4% 0.127 309.8);
Tailwind
colors: {
  custom: {
    50: '#dcb9f4',
    500: '#cb9bef',
    950: '#000000',
  },
}
SCSS
$custom: #cb9bef;
$custom-light: #dcb9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9bef",
  "rgb": {
    "r": 203,
    "g": 155,
    "b": 239
  },
  "hsl": {
    "h": 274.286,
    "s": 72.414,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76431,
    "c": 0.12715,
    "h": 309.8
  },
  "luminance": 0.42371
}

Semantic roles & 50–950 ramp

primary
#CB9BEF
secondary
#E4F2D9
accent
#D41165
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB9BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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