#CEC2ED#CEC2ED

#CEC2ED is a very light, moderate violet. Relative luminance 0.578; OKLCH L 83.8% C 0.061 H 297.9°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CEC2ED
RGBrgb(206, 194, 237)
HSLhsl(257, 54%, 85%)
HSVhsv(257, 18%, 93%)
CMYKcmyk(13.1%, 18.1%, 0%, 7.1%)
CIE-LABlab(80.64, 12.44, -19.75)
CIE-LCHlch(80.64, 23.34, 302.21°)
OKLaboklab(83.78% 0.0283 -0.0536)
OKLCHoklch(83.78% 0.061 297.9)
XYZxyz(60.0283, 57.8196, 88.1022)
Luminance0.5782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC2ED #E1EDC2
analogous
#C2CCED #CEC2ED #E4C2ED
triadic
#CEC2ED #EDCEC2 #C2EDCE
tetradic
#CEC2ED #EDC2CC #E1EDC2 #C2EDE4
square
#CEC2ED #EDC2CC #E1EDC2 #C2EDE4
split-complementary
#CEC2ED #EDE4C2 #CCEDC2
monochromatic
#8263D1 #A893DF #CEC2ED #ECE7F8 #ECE7F8

Accessibility & contrast

On white

1.67
#CEC2ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CEC2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC2ED
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC2ED#FFFFFF#000000##000000
##CEC2ED1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAC8EF
Deuteranopia (green-blind)
#BBC8EC
Tritanopia (blue-blind)
#C9C8D0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cec2ed;
/* rgb */ color: rgb(206, 194, 237);
/* oklch */ color: oklch(83.8% 0.061 297.9);
Tailwind
colors: {
  custom: {
    50: '#ddd4f3',
    500: '#cec2ed',
    950: '#000000',
  },
}
SCSS
$custom: #cec2ed;
$custom-light: #ddd4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cec2ed",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 237
  },
  "hsl": {
    "h": 256.744,
    "s": 54.43,
    "l": 84.51
  },
  "oklch": {
    "l": 0.8378,
    "c": 0.06064,
    "h": 297.9
  },
  "luminance": 0.5782
}

Semantic roles & 50–950 ramp

primary
#CEC2ED
secondary
#B8CA89
accent
#C22496
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151417
muted
#848385

Preview Lab

Preview with #CEC2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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