#CDB2EF#CDB2EF

#CDB2EF is a light, moderate violet. Relative luminance 0.511; OKLCH L 80.7% C 0.089 H 304.7°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#CDB2EF
RGBrgb(205, 178, 239)
HSLhsl(267, 66%, 82%)
HSVhsv(267, 26%, 94%)
CMYKcmyk(14.2%, 25.5%, 0%, 6.3%)
CIE-LABlab(76.71, 21.23, -26.81)
CIE-LCHlch(76.71, 34.20, 308.37°)
OKLaboklab(80.75% 0.0507 -0.0733)
OKLCHoklch(80.75% 0.089 304.7)
XYZxyz(56.6742, 51.0521, 88.5130)
Luminance0.5105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB2EF #D4EFB2
analogous
#B2B6EF #CDB2EF #EBB2EF
triadic
#CDB2EF #EFCDB2 #B2EFCD
tetradic
#CDB2EF #EFB2B6 #D4EFB2 #B2EFEB
square
#CDB2EF #EFB2B6 #D4EFB2 #B2EFEB
split-complementary
#CDB2EF #EFEBB2 #B6EFB2
monochromatic
#8B4DDA #AC7FE4 #CDB2EF #EEE5FA #EFE6FA

Accessibility & contrast

On white

1.87
#CDB2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#CDB2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB2EF
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB2EF#FFFFFF#000000##000000
##CDB2EF1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BCF2
Deuteranopia (green-blind)
#ACBDED
Tritanopia (blue-blind)
#C8BAC7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdb2ef;
/* rgb */ color: rgb(205, 178, 239);
/* oklch */ color: oklch(80.7% 0.089 304.7);
Tailwind
colors: {
  custom: {
    50: '#dcc9f4',
    500: '#cdb2ef',
    950: '#000000',
  },
}
SCSS
$custom: #cdb2ef;
$custom-light: #dcc9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb2ef",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 239
  },
  "hsl": {
    "h": 266.557,
    "s": 65.591,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80745,
    "c": 0.08912,
    "h": 304.7
  },
  "luminance": 0.51052
}

Semantic roles & 50–950 ramp

primary
#CDB2EF
secondary
#A7CD78
accent
#CD187D
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CDB2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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