#CEB7EA#CEB7EA

#CEB7EA is a light, moderate violet. Relative luminance 0.529; OKLCH L 81.6% C 0.075 H 305.3°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CEB7EA
RGBrgb(206, 183, 234)
HSLhsl(267, 55%, 82%)
HSVhsv(267, 22%, 92%)
CMYKcmyk(12%, 21.8%, 0%, 8.2%)
CIE-LABlab(77.83, 17.77, -22.39)
CIE-LCHlch(77.83, 28.59, 308.44°)
OKLaboklab(81.57% 0.0431 -0.0609)
OKLCHoklch(81.57% 0.075 305.3)
XYZxyz(57.2356, 52.9295, 85.0271)
Luminance0.5293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB7EA #D3EAB7
analogous
#B7BAEA #CEB7EA #E8B7EA
triadic
#CEB7EA #EACEB7 #B7EACE
tetradic
#CEB7EA #EAB7BA #D3EAB7 #B7EAE8
square
#CEB7EA #EAB7BA #D3EAB7 #B7EAE8
split-complementary
#CEB7EA #EAE8B7 #BAEAB7
monochromatic
#8E58CE #AE88DC #CEB7EA #EEE6F8 #EFE7F8

Accessibility & contrast

On white

1.81
#CEB7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#CEB7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB7EA
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB7EA#FFFFFF#000000##000000
##CEB7EA1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEC0EC
Deuteranopia (green-blind)
#B2C1E8
Tritanopia (blue-blind)
#CABEC8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ceb7ea;
/* rgb */ color: rgb(206, 183, 234);
/* oklch */ color: oklch(81.6% 0.075 305.3);
Tailwind
colors: {
  custom: {
    50: '#ddccf0',
    500: '#ceb7ea',
    950: '#000000',
  },
}
SCSS
$custom: #ceb7ea;
$custom-light: #ddccf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb7ea",
  "rgb": {
    "r": 206,
    "g": 183,
    "b": 234
  },
  "hsl": {
    "h": 267.059,
    "s": 54.839,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81573,
    "c": 0.07463,
    "h": 305.3
  },
  "luminance": 0.52929
}

Semantic roles & 50–950 ramp

primary
#CEB7EA
secondary
#A6C67F
accent
#C2237B
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CEB7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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