#CEB2FC#CEB2FC

#CEB2FC is a light, moderate violet. Relative luminance 0.520; OKLCH L 81.4% C 0.106 H 301.4°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CEB2FC
RGBrgb(206, 178, 252)
HSLhsl(263, 93%, 84%)
HSVhsv(263, 29%, 99%)
CMYKcmyk(18.3%, 29.4%, 0%, 1.2%)
CIE-LABlab(77.28, 24.33, -32.94)
CIE-LCHlch(77.28, 40.95, 306.45°)
OKLaboklab(81.36% 0.0554 -0.0906)
OKLCHoklch(81.36% 0.106 301.4)
XYZxyz(58.9410, 51.9908, 99.0066)
Luminance0.5199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB2FC #E0FCB2
analogous
#B2BBFC #CEB2FC #F3B2FC
triadic
#CEB2FC #FCCEB2 #B2FCCE
tetradic
#CEB2FC #FCB2BB #E0FCB2 #B2FCF3
square
#CEB2FC #FCB2BB #E0FCB2 #B2FCF3
split-complementary
#CEB2FC #FCF3B2 #BBFCB2
monochromatic
#833CF7 #A977FA #CEB2FC #ECE2FE #ECE2FE

Accessibility & contrast

On white

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

On black

11.40
#CEB2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB2FC
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB2FC#FFFFFF#000000##000000
##CEB2FC1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BEFF
Deuteranopia (green-blind)
#A7BFFA
Tritanopia (blue-blind)
#C6BDCC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ceb2fc;
/* rgb */ color: rgb(206, 178, 252);
/* oklch */ color: oklch(81.4% 0.106 301.4);
Tailwind
colors: {
  custom: {
    50: '#dec9fd',
    500: '#ceb2fc',
    950: '#000000',
  },
}
SCSS
$custom: #ceb2fc;
$custom-light: #dec9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb2fc",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 252
  },
  "hsl": {
    "h": 262.703,
    "s": 92.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.81357,
    "c": 0.10623,
    "h": 301.4
  },
  "luminance": 0.51991
}

Semantic roles & 50–950 ramp

primary
#CEB2FC
secondary
#B7E171
accent
#E6008F
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CEB2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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