#CDB2FD#CDB2FD

#CDB2FD is a light, moderate violet. Relative luminance 0.519; OKLCH L 81.3% C 0.107 H 300.6°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CDB2FD
RGBrgb(205, 178, 253)
HSLhsl(262, 95%, 85%)
HSVhsv(262, 30%, 99%)
CMYKcmyk(19%, 29.6%, 0%, 0.8%)
CIE-LABlab(77.23, 24.25, -33.56)
CIE-LCHlch(77.23, 41.40, 305.85°)
OKLaboklab(81.31% 0.0546 -0.0924)
OKLCHoklch(81.31% 0.107 300.6)
XYZxyz(58.8231, 51.9116, 99.8304)
Luminance0.5191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB2FD #E2FDB2
analogous
#B2BDFD #CDB2FD #F3B2FD
triadic
#CDB2FD #FDCDB2 #B2FDCD
tetradic
#CDB2FD #FDB2BD #E2FDB2 #B2FDF3
square
#CDB2FD #FDB2BD #E2FDB2 #B2FDF3
split-complementary
#CDB2FD #FDF3B2 #BDFDB2
monochromatic
#803BFA #A676FB #CDB2FD #ECE1FE #ECE1FE

Accessibility & contrast

On white

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

On black

11.38
#CDB2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB2FD
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB2FD#FFFFFF#000000##000000
##CDB2FD1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BEFF
Deuteranopia (green-blind)
#A6BEFB
Tritanopia (blue-blind)
#C5BDCD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdb2fd;
/* rgb */ color: rgb(205, 178, 253);
/* oklch */ color: oklch(81.3% 0.107 300.6);
Tailwind
colors: {
  custom: {
    50: '#ddc9fe',
    500: '#cdb2fd',
    950: '#000000',
  },
}
SCSS
$custom: #cdb2fd;
$custom-light: #ddc9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb2fd",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 253
  },
  "hsl": {
    "h": 261.6,
    "s": 94.937,
    "l": 84.51
  },
  "oklch": {
    "l": 0.81313,
    "c": 0.10731,
    "h": 300.6
  },
  "luminance": 0.51912
}

Semantic roles & 50–950 ramp

primary
#CDB2FD
secondary
#B9E271
accent
#E60093
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CDB2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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