#CDA5FF#CDA5FF

#CDA5FF is a light, vivid violet. Relative luminance 0.471; OKLCH L 79.1% C 0.131 H 304.0°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#CDA5FF
RGBrgb(205, 165, 255)
HSLhsl(267, 100%, 82%)
HSVhsv(267, 35%, 100%)
CMYKcmyk(19.6%, 35.3%, 0%, 0%)
CIE-LABlab(74.26, 31.80, -39.24)
CIE-LCHlch(74.26, 50.50, 309.03°)
OKLaboklab(79.07% 0.0732 -0.1086)
OKLCHoklch(79.07% 0.131 304)
XYZxyz(56.6783, 47.1096, 100.6955)
Luminance0.4711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA5FF #D7FFA5
analogous
#A5AAFF #CDA5FF #FAA5FF
triadic
#CDA5FF #FFCDA5 #A5FFCD
tetradic
#CDA5FF #FFA5AA #D7FFA5 #A5FFFA
square
#CDA5FF #FFA5AA #D7FFA5 #A5FFFA
split-complementary
#CDA5FF #FFFAA5 #AAFFA5
monochromatic
#892BFF #AB68FF #CDA5FF #EEE0FF #EEE0FF

Accessibility & contrast

On white

2.02
#CDA5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#CDA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA5FF
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA5FF#FFFFFF#000000##000000
##CDA5FF1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B6FF
Deuteranopia (green-blind)
#99B7FC
Tritanopia (blue-blind)
#C5B3C6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cda5ff;
/* rgb */ color: rgb(205, 165, 255);
/* oklch */ color: oklch(79.1% 0.131 304.0);
Tailwind
colors: {
  custom: {
    50: '#ddc0ff',
    500: '#cda5ff',
    950: '#000000',
  },
}
SCSS
$custom: #cda5ff;
$custom-light: #ddc0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cda5ff",
  "rgb": {
    "r": 205,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 266.667,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.79071,
    "c": 0.13094,
    "h": 304
  },
  "luminance": 0.47109
}

Semantic roles & 50–950 ramp

primary
#CDA5FF
secondary
#E7F7D4
accent
#E6007F
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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