#CEB2EC#CEB2EC

#CEB2EC is a light, moderate violet. Relative luminance 0.510; OKLCH L 80.7% C 0.086 H 306.5°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CEB2EC
RGBrgb(206, 178, 236)
HSLhsl(269, 60%, 81%)
HSVhsv(269, 25%, 93%)
CMYKcmyk(12.7%, 24.6%, 0%, 7.5%)
CIE-LABlab(76.69, 20.91, -25.21)
CIE-LCHlch(76.69, 32.76, 309.67°)
OKLaboklab(80.72% 0.0509 -0.0688)
OKLCHoklch(80.72% 0.086 306.5)
XYZxyz(56.5115, 51.0190, 86.2112)
Luminance0.5102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB2EC #D0ECB2
analogous
#B2B3EC #CEB2EC #EBB2EC
triadic
#CEB2EC #ECCEB2 #B2ECCE
tetradic
#CEB2EC #ECB2B3 #D0ECB2 #B2ECEB
square
#CEB2EC #ECB2B3 #D0ECB2 #B2ECEB
split-complementary
#CEB2EC #ECEBB2 #B3ECB2
monochromatic
#9050D4 #AF81E0 #CEB2EC #EDE3F8 #EFE6F9

Accessibility & contrast

On white

1.87
#CEB2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CEB2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB2EC
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB2EC#FFFFFF#000000##000000
##CEB2EC1.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BCEE
Deuteranopia (green-blind)
#ADBEEA
Tritanopia (blue-blind)
#CABAC6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ceb2ec;
/* rgb */ color: rgb(206, 178, 236);
/* oklch */ color: oklch(80.7% 0.086 306.5);
Tailwind
colors: {
  custom: {
    50: '#ddc9f2',
    500: '#ceb2ec',
    950: '#000000',
  },
}
SCSS
$custom: #ceb2ec;
$custom-light: #ddc9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb2ec",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 236
  },
  "hsl": {
    "h": 268.966,
    "s": 60.417,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80715,
    "c": 0.08558,
    "h": 306.5
  },
  "luminance": 0.51019
}

Semantic roles & 50–950 ramp

primary
#CEB2EC
secondary
#A2C979
accent
#C81D76
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CEB2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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