#CDA4FC#CDA4FC

#CDA4FC is a light, vivid violet. Relative luminance 0.466; OKLCH L 78.8% C 0.129 H 305.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#CDA4FC
RGBrgb(205, 164, 252)
HSLhsl(268, 94%, 82%)
HSVhsv(268, 35%, 99%)
CMYKcmyk(18.7%, 34.9%, 0%, 1.2%)
CIE-LABlab(73.91, 31.69, -38.16)
CIE-LCHlch(73.91, 49.60, 309.70°)
OKLaboklab(78.76% 0.0739 -0.1055)
OKLCHoklch(78.76% 0.129 305)
XYZxyz(56.0195, 46.5586, 98.1121)
Luminance0.4656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA4FC #D3FCA4
analogous
#A4A7FC #CDA4FC #F9A4FC
triadic
#CDA4FC #FCCDA4 #A4FCCD
tetradic
#CDA4FC #FCA4A7 #D3FCA4 #A4FCF9
square
#CDA4FC #FCA4A7 #D3FCA4 #A4FCF9
split-complementary
#CDA4FC #FCF9A4 #A7FCA4
monochromatic
#8C2EF8 #AC69FA #CDA4FC #EEDFFE #EFE1FE

Accessibility & contrast

On white

2.04
#CDA4FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#CDA4FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA4FC
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA4FC#FFFFFF#000000##000000
##CDA4FC1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FF
Deuteranopia (green-blind)
#9AB6FA
Tritanopia (blue-blind)
#C6B1C5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cda4fc;
/* rgb */ color: rgb(205, 164, 252);
/* oklch */ color: oklch(78.8% 0.129 305.0);
Tailwind
colors: {
  custom: {
    50: '#ddbffd',
    500: '#cda4fc',
    950: '#000000',
  },
}
SCSS
$custom: #cda4fc;
$custom-light: #ddbffd;
$custom-dark: #000000;
JSON
{
  "hex": "#cda4fc",
  "rgb": {
    "r": 205,
    "g": 164,
    "b": 252
  },
  "hsl": {
    "h": 267.955,
    "s": 93.617,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78762,
    "c": 0.12882,
    "h": 305
  },
  "luminance": 0.46558
}

Semantic roles & 50–950 ramp

primary
#CDA4FC
secondary
#E7F6D5
accent
#E6007B
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDA4FC

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

Preview Lab → · Contrast checker → · Palette generator →

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