#CEB5FA#CEB5FA

#CEB5FA is a light, moderate violet. Relative luminance 0.531; OKLCH L 81.8% C 0.099 H 300.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CEB5FA
RGBrgb(206, 181, 250)
HSLhsl(262, 87%, 85%)
HSVhsv(262, 28%, 98%)
CMYKcmyk(17.6%, 27.6%, 0%, 2%)
CIE-LABlab(77.92, 22.26, -30.88)
CIE-LCHlch(77.92, 38.06, 305.79°)
OKLaboklab(81.83% 0.0507 -0.0848)
OKLCHoklch(81.83% 0.099 300.9)
XYZxyz(59.2292, 53.0716, 97.5474)
Luminance0.5307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB5FA #E1FAB5
analogous
#B5BFFA #CEB5FA #F1B5FA
triadic
#CEB5FA #FACEB5 #B5FACE
tetradic
#CEB5FA #FAB5BF #E1FAB5 #B5FAF1
square
#CEB5FA #FAB5BF #E1FAB5 #B5FAF1
split-complementary
#CEB5FA #FAF1B5 #BFFAB5
monochromatic
#8242F2 #A87CF6 #CEB5FA #ECE2FD #ECE2FD

Accessibility & contrast

On white

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

On black

11.61
#CEB5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB5FA
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB5FA#FFFFFF#000000##000000
##CEB5FA1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7C0FD
Deuteranopia (green-blind)
#ABC0F8
Tritanopia (blue-blind)
#C7BFCD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ceb5fa;
/* rgb */ color: rgb(206, 181, 250);
/* oklch */ color: oklch(81.8% 0.099 300.9);
Tailwind
colors: {
  custom: {
    50: '#ddcbfc',
    500: '#ceb5fa',
    950: '#000000',
  },
}
SCSS
$custom: #ceb5fa;
$custom-light: #ddcbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb5fa",
  "rgb": {
    "r": 206,
    "g": 181,
    "b": 250
  },
  "hsl": {
    "h": 261.739,
    "s": 87.342,
    "l": 84.51
  },
  "oklch": {
    "l": 0.81826,
    "c": 0.09877,
    "h": 300.9
  },
  "luminance": 0.53072
}

Semantic roles & 50–950 ramp

primary
#CEB5FA
secondary
#B8DE75
accent
#E40292
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CEB5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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