#CEB7EE#CEB7EE

#CEB7EE is a light, moderate violet. Relative luminance 0.532; OKLCH L 81.7% C 0.080 H 303.8°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CEB7EE
RGBrgb(206, 183, 238)
HSLhsl(265, 62%, 83%)
HSVhsv(265, 23%, 93%)
CMYKcmyk(13.4%, 23.1%, 0%, 6.7%)
CIE-LABlab(77.97, 18.61, -24.34)
CIE-LCHlch(77.97, 30.64, 307.39°)
OKLaboklab(81.73% 0.0444 -0.0664)
OKLCHoklch(81.73% 0.08 303.8)
XYZxyz(57.8167, 53.1619, 88.0877)
Luminance0.5316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB7EE #D7EEB7
analogous
#B7BBEE #CEB7EE #EAB7EE
triadic
#CEB7EE #EECEB7 #B7EECE
tetradic
#CEB7EE #EEB7BB #D7EEB7 #B7EEEA
square
#CEB7EE #EEB7BB #D7EEB7 #B7EEEA
split-complementary
#CEB7EE #EEEAB7 #BBEEB7
monochromatic
#8B54D7 #AC85E2 #CEB7EE #EEE6F9 #EEE6F9

Accessibility & contrast

On white

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

On black

11.63
#CEB7EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB7EE
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB7EE#FFFFFF#000000##000000
##CEB7EE1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADC0F0
Deuteranopia (green-blind)
#B1C1EC
Tritanopia (blue-blind)
#C9BFCA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ceb7ee;
/* rgb */ color: rgb(206, 183, 238);
/* oklch */ color: oklch(81.7% 0.080 303.8);
Tailwind
colors: {
  custom: {
    50: '#ddccf3',
    500: '#ceb7ee',
    950: '#000000',
  },
}
SCSS
$custom: #ceb7ee;
$custom-light: #ddccf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb7ee",
  "rgb": {
    "r": 206,
    "g": 183,
    "b": 238
  },
  "hsl": {
    "h": 265.091,
    "s": 61.798,
    "l": 82.549
  },
  "oklch": {
    "l": 0.81725,
    "c": 0.07982,
    "h": 303.8
  },
  "luminance": 0.53162
}

Semantic roles & 50–950 ramp

primary
#CEB7EE
secondary
#ABCC7D
accent
#CA1C81
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CEB7EE

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

Preview Lab → · Contrast checker → · Palette generator →

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