#CEC7FF#CEC7FF

#CEC7FF is a very light, moderate blue. Relative luminance 0.612; OKLCH L 85.4% C 0.078 H 290.4°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#CEC7FF
RGBrgb(206, 199, 255)
HSLhsl(248, 100%, 89%)
HSVhsv(248, 22%, 100%)
CMYKcmyk(19.2%, 22%, 0%, 0%)
CIE-LABlab(82.48, 13.59, -26.56)
CIE-LCHlch(82.48, 29.83, 297.10°)
OKLaboklab(85.41% 0.027 -0.0727)
OKLCHoklch(85.41% 0.078 290.4)
XYZxyz(63.9229, 61.1879, 103.0311)
Luminance0.6119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC7FF #F8FFC7
analogous
#C7DCFF #CEC7FF #EAC7FF
triadic
#CEC7FF #FFCEC7 #C7FFCE
tetradic
#CEC7FF #FFC7DC #F8FFC7 #C7FFEA
square
#CEC7FF #FFC7DC #F8FFC7 #C7FFEA
split-complementary
#CEC7FF #FFEAC7 #DCFFC7
monochromatic
#634DFF #988AFF #CEC7FF #E4E0FF #E4E0FF

Accessibility & contrast

On white

1.59
#CEC7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#CEC7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC7FF
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC7FF#FFFFFF#000000##000000
##CEC7FF1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BACEFF
Deuteranopia (green-blind)
#BACCFD
Tritanopia (blue-blind)
#C4D0DA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cec7ff;
/* rgb */ color: rgb(206, 199, 255);
/* oklch */ color: oklch(85.4% 0.078 290.4);
Tailwind
colors: {
  custom: {
    50: '#ddd8ff',
    500: '#cec7ff',
    950: '#000000',
  },
}
SCSS
$custom: #cec7ff;
$custom-light: #ddd8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cec7ff",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 255
  },
  "hsl": {
    "h": 247.5,
    "s": 100,
    "l": 89.02
  },
  "oklch": {
    "l": 0.85409,
    "c": 0.07755,
    "h": 290.4
  },
  "luminance": 0.61189
}

Semantic roles & 50–950 ramp

primary
#CEC7FF
secondary
#DCE981
accent
#E600C9
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #CEC7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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