#CEB2FF#CEB2FF

#CEB2FF is a light, moderate violet. Relative luminance 0.522; OKLCH L 81.5% C 0.110 H 300.7°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CEB2FF
RGBrgb(206, 178, 255)
HSLhsl(262, 100%, 85%)
HSVhsv(262, 30%, 100%)
CMYKcmyk(19.2%, 30.2%, 0%, 0%)
CIE-LABlab(77.39, 24.99, -34.38)
CIE-LCHlch(77.39, 42.50, 306.02°)
OKLaboklab(81.48% 0.0562 -0.0947)
OKLCHoklch(81.48% 0.11 300.7)
XYZxyz(59.4202, 52.1825, 101.5302)
Luminance0.5218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB2FF #E3FFB2
analogous
#B2BDFF #CEB2FF #F4B2FF
triadic
#CEB2FF #FFCEB2 #B2FFCE
tetradic
#CEB2FF #FFB2BD #E3FFB2 #B2FFF4
square
#CEB2FF #FFB2BD #E3FFB2 #B2FFF4
split-complementary
#CEB2FF #FFF4B2 #BDFFB2
monochromatic
#8038FF #A775FF #CEB2FF #ECE0FF #ECE0FF

Accessibility & contrast

On white

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

On black

11.44
#CEB2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB2FF
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB2FF#FFFFFF#000000##000000
##CEB2FF1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BFFF
Deuteranopia (green-blind)
#A6BFFD
Tritanopia (blue-blind)
#C6BECE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ceb2ff;
/* rgb */ color: rgb(206, 178, 255);
/* oklch */ color: oklch(81.5% 0.110 300.7);
Tailwind
colors: {
  custom: {
    50: '#dec9ff',
    500: '#ceb2ff',
    950: '#000000',
  },
}
SCSS
$custom: #ceb2ff;
$custom-light: #dec9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb2ff",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 261.818,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.81483,
    "c": 0.11013,
    "h": 300.7
  },
  "luminance": 0.52183
}

Semantic roles & 50–950 ramp

primary
#CEB2FF
secondary
#BBE670
accent
#E60092
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CEB2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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