#CEB2FE#CEB2FE

#CEB2FE is a light, moderate violet. Relative luminance 0.521; OKLCH L 81.4% C 0.109 H 300.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CEB2FE
RGBrgb(206, 178, 254)
HSLhsl(262, 97%, 85%)
HSVhsv(262, 30%, 100%)
CMYKcmyk(18.9%, 29.9%, 0%, 0.4%)
CIE-LABlab(77.35, 24.77, -33.90)
CIE-LCHlch(77.35, 41.98, 306.16°)
OKLaboklab(81.44% 0.0559 -0.0934)
OKLCHoklch(81.44% 0.109 300.9)
XYZxyz(59.2596, 52.1183, 100.6846)
Luminance0.5212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB2FE #E2FEB2
analogous
#B2BCFE #CEB2FE #F4B2FE
triadic
#CEB2FE #FECEB2 #B2FECE
tetradic
#CEB2FE #FEB2BC #E2FEB2 #B2FEF4
square
#CEB2FE #FEB2BC #E2FEB2 #B2FEF4
split-complementary
#CEB2FE #FEF4B2 #BCFEB2
monochromatic
#8139FC #A876FD #CEB2FE #ECE1FF #ECE1FF

Accessibility & contrast

On white

1.84
#CEB2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CEB2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB2FE
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB2FE#FFFFFF#000000##000000
##CEB2FE1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BFFF
Deuteranopia (green-blind)
#A7BFFC
Tritanopia (blue-blind)
#C6BECD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ceb2fe;
/* rgb */ color: rgb(206, 178, 254);
/* oklch */ color: oklch(81.4% 0.109 300.9);
Tailwind
colors: {
  custom: {
    50: '#dec9ff',
    500: '#ceb2fe',
    950: '#000000',
  },
}
SCSS
$custom: #ceb2fe;
$custom-light: #dec9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb2fe",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 254
  },
  "hsl": {
    "h": 262.105,
    "s": 97.436,
    "l": 84.706
  },
  "oklch": {
    "l": 0.81441,
    "c": 0.10883,
    "h": 300.9
  },
  "luminance": 0.52118
}

Semantic roles & 50–950 ramp

primary
#CEB2FE
secondary
#B9E470
accent
#E60091
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CEB2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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