#CDC8FF#CDC8FF

#CDC8FF is a very light, moderate blue. Relative luminance 0.615; OKLCH L 85.5% C 0.076 H 288.8°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#CDC8FF
RGBrgb(205, 200, 255)
HSLhsl(245, 100%, 89%)
HSVhsv(245, 22%, 100%)
CMYKcmyk(19.6%, 21.6%, 0%, 0%)
CIE-LABlab(82.65, 12.75, -26.30)
CIE-LCHlch(82.65, 29.23, 295.85°)
OKLaboklab(85.52% 0.0246 -0.072)
OKLCHoklch(85.52% 0.076 288.8)
XYZxyz(63.8769, 61.5069, 103.0950)
Luminance0.6151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC8FF #FAFFC8
analogous
#C8DFFF #CDC8FF #E9C8FF
triadic
#CDC8FF #FFCDC8 #C8FFCD
tetradic
#CDC8FF #FFC8DF #FAFFC8 #C8FFE9
square
#CDC8FF #FFC8DF #FAFFC8 #C8FFE9
split-complementary
#CDC8FF #FFE9C8 #DFFFC8
monochromatic
#5E4EFF #958BFF #CDC8FF #E3E0FF #E3E0FF

Accessibility & contrast

On white

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

On black

13.30
#CDC8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC8FF
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC8FF#FFFFFF#000000##000000
##CDC8FF1.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc8ff;
/* rgb */ color: rgb(205, 200, 255);
/* oklch */ color: oklch(85.5% 0.076 288.8);
Tailwind
colors: {
  custom: {
    50: '#ddd8ff',
    500: '#cdc8ff',
    950: '#000000',
  },
}
SCSS
$custom: #cdc8ff;
$custom-light: #ddd8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc8ff",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 255
  },
  "hsl": {
    "h": 245.455,
    "s": 100,
    "l": 89.216
  },
  "oklch": {
    "l": 0.85522,
    "c": 0.07607,
    "h": 288.8
  },
  "luminance": 0.61508
}

Semantic roles & 50–950 ramp

primary
#CDC8FF
secondary
#E0E982
accent
#E600D1
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #CDC8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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