#CEB2EF#CEB2EF

#CEB2EF is a light, moderate violet. Relative luminance 0.512; OKLCH L 80.8% C 0.089 H 305.4°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CEB2EF
RGBrgb(206, 178, 239)
HSLhsl(268, 66%, 82%)
HSVhsv(268, 26%, 94%)
CMYKcmyk(13.8%, 25.5%, 0%, 6.3%)
CIE-LABlab(76.80, 21.54, -26.67)
CIE-LCHlch(76.80, 34.28, 308.92°)
OKLaboklab(80.83% 0.0518 -0.0729)
OKLCHoklch(80.83% 0.089 305.4)
XYZxyz(56.9510, 51.1948, 88.5259)
Luminance0.5120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB2EF #D3EFB2
analogous
#B2B5EF #CEB2EF #EDB2EF
triadic
#CEB2EF #EFCEB2 #B2EFCE
tetradic
#CEB2EF #EFB2B5 #D3EFB2 #B2EFED
square
#CEB2EF #EFB2B5 #D3EFB2 #B2EFED
split-complementary
#CEB2EF #EFEDB2 #B5EFB2
monochromatic
#8E4DDA #AE7FE4 #CEB2EF #EEE5FA #EFE6FA

Accessibility & contrast

On white

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

On black

11.24
#CEB2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB2EF
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB2EF#FFFFFF#000000##000000
##CEB2EF1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BDF2
Deuteranopia (green-blind)
#ACBEED
Tritanopia (blue-blind)
#C9BAC7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ceb2ef;
/* rgb */ color: rgb(206, 178, 239);
/* oklch */ color: oklch(80.8% 0.089 305.4);
Tailwind
colors: {
  custom: {
    50: '#ddc9f4',
    500: '#ceb2ef',
    950: '#000000',
  },
}
SCSS
$custom: #ceb2ef;
$custom-light: #ddc9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb2ef",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 239
  },
  "hsl": {
    "h": 267.541,
    "s": 65.591,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80832,
    "c": 0.08943,
    "h": 305.4
  },
  "luminance": 0.51195
}

Semantic roles & 50–950 ramp

primary
#CEB2EF
secondary
#A6CD78
accent
#CD187A
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CEB2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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