#CDB4FA#CDB4FA

#CDB4FA is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.6% C 0.100 H 300.6°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CDB4FA
RGBrgb(205, 180, 250)
HSLhsl(261, 88%, 84%)
HSVhsv(261, 28%, 98%)
CMYKcmyk(18%, 28%, 0%, 2%)
CIE-LABlab(77.59, 22.50, -31.38)
CIE-LCHlch(77.59, 38.62, 305.64°)
OKLaboklab(81.56% 0.051 -0.0862)
OKLCHoklch(81.56% 0.1 300.6)
XYZxyz(58.7498, 52.5237, 97.4669)
Luminance0.5252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB4FA #E1FAB4
analogous
#B4BEFA #CDB4FA #F0B4FA
triadic
#CDB4FA #FACDB4 #B4FACD
tetradic
#CDB4FA #FAB4BE #E1FAB4 #B4FAF0
square
#CDB4FA #FAB4BE #E1FAB4 #B4FAF0
split-complementary
#CDB4FA #FAF0B4 #BEFAB4
monochromatic
#8141F2 #A77BF6 #CDB4FA #ECE2FD #ECE2FD

Accessibility & contrast

On white

1.83
#CDB4FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CDB4FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB4FA
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB4FA#FFFFFF#000000##000000
##CDB4FA1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BFFD
Deuteranopia (green-blind)
#A9BFF8
Tritanopia (blue-blind)
#C5BFCD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdb4fa;
/* rgb */ color: rgb(205, 180, 250);
/* oklch */ color: oklch(81.6% 0.100 300.6);
Tailwind
colors: {
  custom: {
    50: '#ddcafc',
    500: '#cdb4fa',
    950: '#000000',
  },
}
SCSS
$custom: #cdb4fa;
$custom-light: #ddcafc;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb4fa",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 250
  },
  "hsl": {
    "h": 261.429,
    "s": 87.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.81556,
    "c": 0.10017,
    "h": 300.6
  },
  "luminance": 0.52524
}

Semantic roles & 50–950 ramp

primary
#CDB4FA
secondary
#B8DE74
accent
#E40193
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CDB4FA

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

Preview Lab → · Contrast checker → · Palette generator →

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