#CEC8FF#CEC8FF

#CEC8FF is a very light, moderate blue. Relative luminance 0.617; OKLCH L 85.6% C 0.076 H 289.7°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#CEC8FF
RGBrgb(206, 200, 255)
HSLhsl(247, 100%, 89%)
HSVhsv(247, 22%, 100%)
CMYKcmyk(19.2%, 21.6%, 0%, 0%)
CIE-LABlab(82.73, 13.05, -26.18)
CIE-LCHlch(82.73, 29.25, 296.49°)
OKLaboklab(85.6% 0.0256 -0.0716)
OKLCHoklch(85.6% 0.076 289.7)
XYZxyz(64.1537, 61.6496, 103.1080)
Luminance0.6165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC8FF #F9FFC8
analogous
#C8DEFF #CEC8FF #EAC8FF
triadic
#CEC8FF #FFCEC8 #C8FFCE
tetradic
#CEC8FF #FFC8DE #F9FFC8 #C8FFEA
square
#CEC8FF #FFC8DE #F9FFC8 #C8FFEA
split-complementary
#CEC8FF #FFEAC8 #DEFFC8
monochromatic
#614EFF #978BFF #CEC8FF #E4E0FF #E4E0FF

Accessibility & contrast

On white

1.58
#CEC8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#CEC8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC8FF
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC8FF#FFFFFF#000000##000000
##CEC8FF1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBCFFF
Deuteranopia (green-blind)
#BBCDFD
Tritanopia (blue-blind)
#C4D1DB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cec8ff;
/* rgb */ color: rgb(206, 200, 255);
/* oklch */ color: oklch(85.6% 0.076 289.7);
Tailwind
colors: {
  custom: {
    50: '#ddd8ff',
    500: '#cec8ff',
    950: '#000000',
  },
}
SCSS
$custom: #cec8ff;
$custom-light: #ddd8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cec8ff",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 255
  },
  "hsl": {
    "h": 246.545,
    "s": 100,
    "l": 89.216
  },
  "oklch": {
    "l": 0.856,
    "c": 0.07609,
    "h": 289.7
  },
  "luminance": 0.6165
}

Semantic roles & 50–950 ramp

primary
#CEC8FF
secondary
#DEE982
accent
#E600CC
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #CEC8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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