#CDB2EC#CDB2EC

#CDB2EC is a light, moderate violet. Relative luminance 0.509; OKLCH L 80.6% C 0.085 H 305.8°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#CDB2EC
RGBrgb(205, 178, 236)
HSLhsl(268, 60%, 81%)
HSVhsv(268, 25%, 93%)
CMYKcmyk(13.1%, 24.6%, 0%, 7.5%)
CIE-LABlab(76.60, 20.60, -25.35)
CIE-LCHlch(76.60, 32.67, 309.09°)
OKLaboklab(80.63% 0.0498 -0.0692)
OKLCHoklch(80.63% 0.085 305.8)
XYZxyz(56.2347, 50.8763, 86.1982)
Luminance0.5088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB2EC #D1ECB2
analogous
#B2B4EC #CDB2EC #EAB2EC
triadic
#CDB2EC #ECCDB2 #B2ECCD
tetradic
#CDB2EC #ECB2B4 #D1ECB2 #B2ECEA
square
#CDB2EC #ECB2B4 #D1ECB2 #B2ECEA
split-complementary
#CDB2EC #ECEAB2 #B4ECB2
monochromatic
#8D50D4 #AD81E0 #CDB2EC #EDE3F8 #EFE6F9

Accessibility & contrast

On white

1.88
#CDB2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#CDB2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB2EC
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB2EC#FFFFFF#000000##000000
##CDB2EC1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BCEE
Deuteranopia (green-blind)
#ADBDEA
Tritanopia (blue-blind)
#C9BAC6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdb2ec;
/* rgb */ color: rgb(205, 178, 236);
/* oklch */ color: oklch(80.6% 0.085 305.8);
Tailwind
colors: {
  custom: {
    50: '#dcc9f2',
    500: '#cdb2ec',
    950: '#000000',
  },
}
SCSS
$custom: #cdb2ec;
$custom-light: #dcc9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb2ec",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 236
  },
  "hsl": {
    "h": 267.931,
    "s": 60.417,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80627,
    "c": 0.08527,
    "h": 305.8
  },
  "luminance": 0.50876
}

Semantic roles & 50–950 ramp

primary
#CDB2EC
secondary
#A4C979
accent
#C81D79
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CDB2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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