#CDCAFF#CDCAFF

#CDCAFF is a very light, moderate blue. Relative luminance 0.624; OKLCH L 85.9% C 0.073 H 287.3°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#CDCAFF
RGBrgb(205, 202, 255)
HSLhsl(243, 100%, 90%)
HSVhsv(243, 21%, 100%)
CMYKcmyk(19.6%, 20.8%, 0%, 0%)
CIE-LABlab(83.15, 11.67, -25.55)
CIE-LCHlch(83.15, 28.09, 294.55°)
OKLaboklab(85.91% 0.0218 -0.0699)
OKLCHoklch(85.91% 0.073 287.3)
XYZxyz(64.3431, 62.4393, 103.2504)
Luminance0.6244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCAFF #FCFFCA
analogous
#CAE2FF #CDCAFF #E8CAFF
triadic
#CDCAFF #FFCDCA #CAFFCD
tetradic
#CDCAFF #FFCAE2 #FCFFCA #CAFFE8
square
#CDCAFF #FFCAE2 #FCFFCA #CAFFE8
split-complementary
#CDCAFF #FFE8CA #E2FFCA
monochromatic
#5A50FF #938DFF #CDCAFF #E2E0FF #E2E0FF

Accessibility & contrast

On white

1.56
#CDCAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#CDCAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCAFF
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCAFF#FFFFFF#000000##000000
##CDCAFF1.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDD0FF
Deuteranopia (green-blind)
#BCCEFE
Tritanopia (blue-blind)
#C2D3DC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cdcaff;
/* rgb */ color: rgb(205, 202, 255);
/* oklch */ color: oklch(85.9% 0.073 287.3);
Tailwind
colors: {
  custom: {
    50: '#dcdaff',
    500: '#cdcaff',
    950: '#000000',
  },
}
SCSS
$custom: #cdcaff;
$custom-light: #dcdaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcaff",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 255
  },
  "hsl": {
    "h": 243.396,
    "s": 100,
    "l": 89.608
  },
  "oklch": {
    "l": 0.85908,
    "c": 0.07321,
    "h": 287.3
  },
  "luminance": 0.6244
}

Semantic roles & 50–950 ramp

primary
#CDCAFF
secondary
#E4E984
accent
#E600D9
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #CDCAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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