#CEB2FA#CEB2FA

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

Color values

HEX#CEB2FA
RGBrgb(206, 178, 250)
HSLhsl(263, 88%, 84%)
HSVhsv(263, 29%, 98%)
CMYKcmyk(17.6%, 28.8%, 0%, 2%)
CIE-LABlab(77.20, 23.89, -31.98)
CIE-LCHlch(77.20, 39.92, 306.76°)
OKLaboklab(81.27% 0.0549 -0.0879)
OKLCHoklch(81.27% 0.104 302)
XYZxyz(58.6258, 51.8647, 97.3463)
Luminance0.5187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB2FA #DEFAB2
analogous
#B2BAFA #CEB2FA #F2B2FA
triadic
#CEB2FA #FACEB2 #B2FACE
tetradic
#CEB2FA #FAB2BA #DEFAB2 #B2FAF2
square
#CEB2FA #FAB2BA #DEFAB2 #B2FAF2
split-complementary
#CEB2FA #FAF2B2 #BAFAB2
monochromatic
#853FF3 #A979F6 #CEB2FA #EDE2FD #EDE2FD

Accessibility & contrast

On white

1.85
#CEB2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CEB2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB2FA
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB2FA#FFFFFF#000000##000000
##CEB2FA1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ceb2fa;
/* rgb */ color: rgb(206, 178, 250);
/* oklch */ color: oklch(81.3% 0.104 302.0);
Tailwind
colors: {
  custom: {
    50: '#ddc9fc',
    500: '#ceb2fa',
    950: '#000000',
  },
}
SCSS
$custom: #ceb2fa;
$custom-light: #ddc9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb2fa",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 250
  },
  "hsl": {
    "h": 263.333,
    "s": 87.805,
    "l": 83.922
  },
  "oklch": {
    "l": 0.81274,
    "c": 0.10363,
    "h": 302
  },
  "luminance": 0.51865
}

Semantic roles & 50–950 ramp

primary
#CEB2FA
secondary
#B4DE73
accent
#E4018C
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CEB2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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