#CDB2FE#CDB2FE

#CDB2FE is a light, moderate violet. Relative luminance 0.520; OKLCH L 81.4% C 0.109 H 300.3°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CDB2FE
RGBrgb(205, 178, 254)
HSLhsl(261, 97%, 85%)
HSVhsv(261, 30%, 100%)
CMYKcmyk(19.3%, 29.9%, 0%, 0.4%)
CIE-LABlab(77.27, 24.47, -34.04)
CIE-LCHlch(77.27, 41.92, 305.71°)
OKLaboklab(81.36% 0.0548 -0.0938)
OKLCHoklch(81.36% 0.109 300.3)
XYZxyz(58.9828, 51.9755, 100.6716)
Luminance0.5198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB2FE #E3FEB2
analogous
#B2BDFE #CDB2FE #F3B2FE
triadic
#CDB2FE #FECDB2 #B2FECD
tetradic
#CDB2FE #FEB2BD #E3FEB2 #B2FEF3
square
#CDB2FE #FEB2BD #E3FEB2 #B2FEF3
split-complementary
#CDB2FE #FEF3B2 #BDFEB2
monochromatic
#7F39FC #A676FD #CDB2FE #EBE1FF #EBE1FF

Accessibility & contrast

On white

1.84
#CDB2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CDB2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB2FE
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB2FE#FFFFFF#000000##000000
##CDB2FE1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BFFF
Deuteranopia (green-blind)
#A6BEFC
Tritanopia (blue-blind)
#C4BECD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdb2fe;
/* rgb */ color: rgb(205, 178, 254);
/* oklch */ color: oklch(81.4% 0.109 300.3);
Tailwind
colors: {
  custom: {
    50: '#ddc9ff',
    500: '#cdb2fe',
    950: '#000000',
  },
}
SCSS
$custom: #cdb2fe;
$custom-light: #ddc9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb2fe",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 254
  },
  "hsl": {
    "h": 261.316,
    "s": 97.436,
    "l": 84.706
  },
  "oklch": {
    "l": 0.81355,
    "c": 0.10862,
    "h": 300.3
  },
  "luminance": 0.51976
}

Semantic roles & 50–950 ramp

primary
#CDB2FE
secondary
#BBE470
accent
#E60094
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CDB2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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