#CEB2FB#CEB2FB

#CEB2FB is a light, moderate violet. Relative luminance 0.519; OKLCH L 81.3% C 0.105 H 301.7°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CEB2FB
RGBrgb(206, 178, 251)
HSLhsl(263, 90%, 84%)
HSVhsv(263, 29%, 98%)
CMYKcmyk(17.9%, 29.1%, 0%, 1.6%)
CIE-LABlab(77.24, 24.11, -32.46)
CIE-LCHlch(77.24, 40.44, 306.60°)
OKLaboklab(81.32% 0.0551 -0.0893)
OKLCHoklch(81.32% 0.105 301.7)
XYZxyz(58.7830, 51.9276, 98.1743)
Luminance0.5193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB2FB #DFFBB2
analogous
#B2BBFB #CEB2FB #F3B2FB
triadic
#CEB2FB #FBCEB2 #B2FBCE
tetradic
#CEB2FB #FBB2BB #DFFBB2 #B2FBF3
square
#CEB2FB #FBB2BB #DFFBB2 #B2FBF3
split-complementary
#CEB2FB #FBF3B2 #BBFBB2
monochromatic
#843EF5 #A978F8 #CEB2FB #ECE2FD #ECE2FD

Accessibility & contrast

On white

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

On black

11.39
#CEB2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB2FB
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB2FB#FFFFFF#000000##000000
##CEB2FB1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BEFE
Deuteranopia (green-blind)
#A8BFF9
Tritanopia (blue-blind)
#C7BDCC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ceb2fb;
/* rgb */ color: rgb(206, 178, 251);
/* oklch */ color: oklch(81.3% 0.105 301.7);
Tailwind
colors: {
  custom: {
    50: '#ddc9fd',
    500: '#ceb2fb',
    950: '#000000',
  },
}
SCSS
$custom: #ceb2fb;
$custom-light: #ddc9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb2fb",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 251
  },
  "hsl": {
    "h": 263.014,
    "s": 90.123,
    "l": 84.118
  },
  "oklch": {
    "l": 0.81316,
    "c": 0.10493,
    "h": 301.7
  },
  "luminance": 0.51928
}

Semantic roles & 50–950 ramp

primary
#CEB2FB
secondary
#B5DF72
accent
#E6008D
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CEB2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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