#CEC2FB#CEC2FB

#CEC2FB is a very light, moderate violet. Relative luminance 0.587; OKLCH L 84.3% C 0.080 H 294.3°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#CEC2FB
RGBrgb(206, 194, 251)
HSLhsl(253, 88%, 87%)
HSVhsv(253, 23%, 98%)
CMYKcmyk(17.9%, 22.7%, 0%, 1.6%)
CIE-LABlab(81.11, 15.41, -26.52)
CIE-LCHlch(81.11, 30.67, 300.17°)
OKLaboklab(84.3% 0.0327 -0.0725)
OKLCHoklch(84.3% 0.08 294.3)
XYZxyz(62.1541, 58.6699, 99.2980)
Luminance0.5867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC2FB #EFFBC2
analogous
#C2D2FB #CEC2FB #EBC2FB
triadic
#CEC2FB #FBCEC2 #C2FBCE
tetradic
#CEC2FB #FBC2D2 #EFFBC2 #C2FBEB
square
#CEC2FB #FBC2D2 #EFFBC2 #C2FBEB
split-complementary
#CEC2FB #FBEBC2 #D2FBC2
monochromatic
#724FF3 #A089F7 #CEC2FB #E8E2FD #E8E2FD

Accessibility & contrast

On white

1.65
#CEC2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#CEC2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC2FB
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC2FB#FFFFFF#000000##000000
##CEC2FB1.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5CAFD
Deuteranopia (green-blind)
#B7C9F9
Tritanopia (blue-blind)
#C5CBD6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cec2fb;
/* rgb */ color: rgb(206, 194, 251);
/* oklch */ color: oklch(84.3% 0.080 294.3);
Tailwind
colors: {
  custom: {
    50: '#ddd4fc',
    500: '#cec2fb',
    950: '#000000',
  },
}
SCSS
$custom: #cec2fb;
$custom-light: #ddd4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cec2fb",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 251
  },
  "hsl": {
    "h": 252.632,
    "s": 87.692,
    "l": 87.255
  },
  "oklch": {
    "l": 0.84301,
    "c": 0.07959,
    "h": 294.3
  },
  "luminance": 0.5867
}

Semantic roles & 50–950 ramp

primary
#CEC2FB
secondary
#CCE180
accent
#E401B4
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151417
muted
#848385

Preview Lab

Preview with #CEC2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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