#CEB7FA#CEB7FA

#CEB7FA is a very light, moderate violet. Relative luminance 0.539; OKLCH L 82.2% C 0.096 H 300.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CEB7FA
RGBrgb(206, 183, 250)
HSLhsl(261, 87%, 85%)
HSVhsv(261, 27%, 98%)
CMYKcmyk(17.6%, 26.8%, 0%, 2%)
CIE-LABlab(78.40, 21.17, -30.14)
CIE-LCHlch(78.40, 36.83, 305.08°)
OKLaboklab(82.2% 0.0478 -0.0827)
OKLCHoklch(82.2% 0.096 300)
XYZxyz(59.6388, 53.8908, 97.6840)
Luminance0.5389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB7FA #E3FAB7
analogous
#B7C2FA #CEB7FA #F0B7FA
triadic
#CEB7FA #FACEB7 #B7FACE
tetradic
#CEB7FA #FAB7C2 #E3FAB7 #B7FAF0
square
#CEB7FA #FAB7C2 #E3FAB7 #B7FAF0
split-complementary
#CEB7FA #FAF0B7 #C2FAB7
monochromatic
#8045F2 #A77EF6 #CEB7FA #ECE2FD #ECE2FD

Accessibility & contrast

On white

1.78
#CEB7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CEB7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB7FA
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB7FA#FFFFFF#000000##000000
##CEB7FA1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9C2FD
Deuteranopia (green-blind)
#ADC2F8
Tritanopia (blue-blind)
#C6C1CF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ceb7fa;
/* rgb */ color: rgb(206, 183, 250);
/* oklch */ color: oklch(82.2% 0.096 300.0);
Tailwind
colors: {
  custom: {
    50: '#ddccfc',
    500: '#ceb7fa',
    950: '#000000',
  },
}
SCSS
$custom: #ceb7fa;
$custom-light: #ddccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb7fa",
  "rgb": {
    "r": 206,
    "g": 183,
    "b": 250
  },
  "hsl": {
    "h": 260.597,
    "s": 87.013,
    "l": 84.902
  },
  "oklch": {
    "l": 0.82195,
    "c": 0.09555,
    "h": 300
  },
  "luminance": 0.53891
}

Semantic roles & 50–950 ramp

primary
#CEB7FA
secondary
#BBDE77
accent
#E40296
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CEB7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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