#CDA4FE#CDA4FE

#CDA4FE is a light, vivid violet. Relative luminance 0.467; OKLCH L 78.9% C 0.131 H 304.5°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#CDA4FE
RGBrgb(205, 164, 254)
HSLhsl(267, 98%, 82%)
HSVhsv(267, 35%, 100%)
CMYKcmyk(19.3%, 35.4%, 0%, 0.4%)
CIE-LABlab(73.99, 32.13, -39.12)
CIE-LCHlch(73.99, 50.62, 309.40°)
OKLaboklab(78.85% 0.0744 -0.1082)
OKLCHoklch(78.85% 0.131 304.5)
XYZxyz(56.3381, 46.6860, 99.7900)
Luminance0.4669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA4FE #D5FEA4
analogous
#A4A8FE #CDA4FE #FAA4FE
triadic
#CDA4FE #FECDA4 #A4FECD
tetradic
#CDA4FE #FEA4A8 #D5FEA4 #A4FEFA
square
#CDA4FE #FEA4A8 #D5FEA4 #A4FEFA
split-complementary
#CDA4FE #FEFAA4 #A8FEA4
monochromatic
#8A2BFD #AC67FD #CDA4FE #EEE1FF #EEE1FF

Accessibility & contrast

On white

2.03
#CDA4FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#CDA4FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA4FE
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA4FE#FFFFFF#000000##000000
##CDA4FE1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B5FF
Deuteranopia (green-blind)
#99B6FB
Tritanopia (blue-blind)
#C5B2C5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cda4fe;
/* rgb */ color: rgb(205, 164, 254);
/* oklch */ color: oklch(78.9% 0.131 304.5);
Tailwind
colors: {
  custom: {
    50: '#ddbfff',
    500: '#cda4fe',
    950: '#000000',
  },
}
SCSS
$custom: #cda4fe;
$custom-light: #ddbfff;
$custom-dark: #000000;
JSON
{
  "hex": "#cda4fe",
  "rgb": {
    "r": 205,
    "g": 164,
    "b": 254
  },
  "hsl": {
    "h": 267.333,
    "s": 97.826,
    "l": 81.961
  },
  "oklch": {
    "l": 0.78851,
    "c": 0.13133,
    "h": 304.5
  },
  "luminance": 0.46686
}

Semantic roles & 50–950 ramp

primary
#CDA4FE
secondary
#E7F7D4
accent
#E6007D
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA4FE

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

Preview Lab → · Contrast checker → · Palette generator →

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