#CB9BE7#CB9BE7

#CB9BE7 is a light, moderate violet. Relative luminance 0.419; OKLCH L 76.1% C 0.118 H 312.6°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CB9BE7
RGBrgb(203, 155, 231)
HSLhsl(278, 61%, 76%)
HSVhsv(278, 33%, 91%)
CMYKcmyk(12.1%, 32.9%, 0%, 9.4%)
CIE-LABlab(70.81, 31.52, -31.55)
CIE-LCHlch(70.81, 44.60, 314.97°)
OKLaboklab(76.09% 0.0795 -0.0866)
OKLCHoklch(76.09% 0.118 312.6)
XYZxyz(50.7713, 41.9095, 81.0005)
Luminance0.4191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9BE7 #B7E79B
analogous
#A59BE7 #CB9BE7 #E79BDD
triadic
#CB9BE7 #E7CB9B #9BE7CB
tetradic
#CB9BE7 #E7A59B #B7E79B #9BDDE7
square
#CB9BE7 #E7A59B #B7E79B #9BDDE7
split-complementary
#CB9BE7 #DDE79B #9BE7A5
monochromatic
#9838CF #B16ADB #CB9BE7 #E5CCF3 #F2E6F9

Accessibility & contrast

On white

2.24
#CB9BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#CB9BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9BE7
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9BE7#FFFFFF#000000##000000
##CB9BE71.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EABEA
Deuteranopia (green-blind)
#99AEE5
Tritanopia (blue-blind)
#C9A5B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb9be7;
/* rgb */ color: rgb(203, 155, 231);
/* oklch */ color: oklch(76.1% 0.118 312.6);
Tailwind
colors: {
  custom: {
    50: '#dbb9ef',
    500: '#cb9be7',
    950: '#000000',
  },
}
SCSS
$custom: #cb9be7;
$custom-light: #dbb9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9be7",
  "rgb": {
    "r": 203,
    "g": 155,
    "b": 231
  },
  "hsl": {
    "h": 277.895,
    "s": 61.29,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76085,
    "c": 0.11756,
    "h": 312.6
  },
  "luminance": 0.41909
}

Semantic roles & 50–950 ramp

primary
#CB9BE7
secondary
#E3F0DB
accent
#C91D5C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB9BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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