#CDC7FB#CDC7FB

#CDC7FB is a very light, moderate blue. Relative luminance 0.608; OKLCH L 85.2% C 0.072 H 290.1°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#CDC7FB
RGBrgb(205, 199, 251)
HSLhsl(247, 87%, 88%)
HSVhsv(247, 21%, 98%)
CMYKcmyk(18.3%, 20.7%, 0%, 1.6%)
CIE-LABlab(82.27, 12.41, -24.76)
CIE-LCHlch(82.27, 27.70, 296.62°)
OKLaboklab(85.18% 0.0247 -0.0677)
OKLCHoklch(85.18% 0.072 290.1)
XYZxyz(63.0089, 60.7903, 99.6622)
Luminance0.6079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC7FB #F5FBC7
analogous
#C7DBFB #CDC7FB #E7C7FB
triadic
#CDC7FB #FBCDC7 #C7FBCD
tetradic
#CDC7FB #FBC7DB #F5FBC7 #C7FBE7
square
#CDC7FB #FBC7DB #F5FBC7 #C7FBE7
split-complementary
#CDC7FB #FBE7C7 #DBFBC7
monochromatic
#6755F3 #9A8EF7 #CDC7FB #E5E2FD #E5E2FD

Accessibility & contrast

On white

1.60
#CDC7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#CDC7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC7FB
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC7FB#FFFFFF#000000##000000
##CDC7FB1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBCEFD
Deuteranopia (green-blind)
#BBCCFA
Tritanopia (blue-blind)
#C4CFD9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdc7fb;
/* rgb */ color: rgb(205, 199, 251);
/* oklch */ color: oklch(85.2% 0.072 290.1);
Tailwind
colors: {
  custom: {
    50: '#dcd8fc',
    500: '#cdc7fb',
    950: '#000000',
  },
}
SCSS
$custom: #cdc7fb;
$custom-light: #dcd8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc7fb",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 251
  },
  "hsl": {
    "h": 246.923,
    "s": 86.667,
    "l": 88.235
  },
  "oklch": {
    "l": 0.85179,
    "c": 0.07203,
    "h": 290.1
  },
  "luminance": 0.60791
}

Semantic roles & 50–950 ramp

primary
#CDC7FB
secondary
#D7E185
accent
#E302C9
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151417
muted
#848385

Preview Lab

Preview with #CDC7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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