#CE9BEB#CE9BEB

#CE9BEB is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.5% C 0.124 H 312.8°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CE9BEB
RGBrgb(206, 155, 235)
HSLhsl(278, 67%, 76%)
HSVhsv(278, 34%, 92%)
CMYKcmyk(12.3%, 34%, 0%, 7.8%)
CIE-LABlab(71.26, 33.27, -33.02)
CIE-LCHlch(71.26, 46.87, 315.21°)
OKLaboklab(76.55% 0.0839 -0.0907)
OKLCHoklch(76.55% 0.124 312.8)
XYZxyz(52.1678, 42.5635, 84.0486)
Luminance0.4256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE9BEB #B8EB9B
analogous
#A69BEB #CE9BEB #EB9BE0
triadic
#CE9BEB #EBCE9B #9BEBCE
tetradic
#CE9BEB #EBA69B #B8EB9B #9BE0EB
square
#CE9BEB #EBA69B #B8EB9B #9BE0EB
split-complementary
#CE9BEB #E0EB9B #9BEBA6
monochromatic
#9C35D7 #B568E1 #CE9BEB #E7CEF5 #F3E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE9BEB#FFFFFF#000000##000000
##CE9BEB1.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)
#8EACEE
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#CCA6B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ce9beb;
/* rgb */ color: rgb(206, 155, 235);
/* oklch */ color: oklch(76.5% 0.124 312.8);
Tailwind
colors: {
  custom: {
    50: '#deb9f1',
    500: '#ce9beb',
    950: '#000000',
  },
}
SCSS
$custom: #ce9beb;
$custom-light: #deb9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce9beb",
  "rgb": {
    "r": 206,
    "g": 155,
    "b": 235
  },
  "hsl": {
    "h": 278.25,
    "s": 66.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76545,
    "c": 0.12358,
    "h": 312.8
  },
  "luminance": 0.42563
}

Semantic roles & 50–950 ramp

primary
#CE9BEB
secondary
#E2F1DA
accent
#CF175A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE9BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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