#CEC2FF#CEC2FF

#CEC2FF is a very light, moderate violet. Relative luminance 0.589; OKLCH L 84.5% C 0.085 H 293.5°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CEC2FF
RGBrgb(206, 194, 255)
HSLhsl(252, 100%, 88%)
HSVhsv(252, 24%, 100%)
CMYKcmyk(19.2%, 23.9%, 0%, 0%)
CIE-LABlab(81.25, 16.29, -28.44)
CIE-LCHlch(81.25, 32.77, 299.80°)
OKLaboklab(84.46% 0.0339 -0.078)
OKLCHoklch(84.46% 0.085 293.5)
XYZxyz(62.7913, 58.9248, 102.6539)
Luminance0.5893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC2FF #F3FFC2
analogous
#C2D4FF #CEC2FF #ECC2FF
triadic
#CEC2FF #FFCEC2 #C2FFCE
tetradic
#CEC2FF #FFC2D4 #F3FFC2 #C2FFEC
square
#CEC2FF #FFC2D4 #F3FFC2 #C2FFEC
split-complementary
#CEC2FF #FFECC2 #D4FFC2
monochromatic
#6C48FF #9D85FF #CEC2FF #E6E0FF #E6E0FF

Accessibility & contrast

On white

1.64
#CEC2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#CEC2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC2FF
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC2FF#FFFFFF#000000##000000
##CEC2FF1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4CBFF
Deuteranopia (green-blind)
#B5C9FD
Tritanopia (blue-blind)
#C4CCD7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cec2ff;
/* rgb */ color: rgb(206, 194, 255);
/* oklch */ color: oklch(84.5% 0.085 293.5);
Tailwind
colors: {
  custom: {
    50: '#ddd4ff',
    500: '#cec2ff',
    950: '#000000',
  },
}
SCSS
$custom: #cec2ff;
$custom-light: #ddd4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cec2ff",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 255
  },
  "hsl": {
    "h": 251.803,
    "s": 100,
    "l": 88.039
  },
  "oklch": {
    "l": 0.84456,
    "c": 0.08502,
    "h": 293.5
  },
  "luminance": 0.58925
}

Semantic roles & 50–950 ramp

primary
#CEC2FF
secondary
#D3E87D
accent
#E600B8
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #CEC2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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