#CDA1F5#CDA1F5

#CDA1F5 is a light, vivid violet. Relative luminance 0.451; OKLCH L 77.9% C 0.125 H 307.7°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#CDA1F5
RGBrgb(205, 161, 245)
HSLhsl(271, 81%, 80%)
HSVhsv(271, 34%, 96%)
CMYKcmyk(16.3%, 34.3%, 0%, 3.9%)
CIE-LABlab(72.93, 31.81, -35.88)
CIE-LCHlch(72.93, 47.95, 311.55°)
OKLaboklab(77.93% 0.0765 -0.0989)
OKLCHoklch(77.93% 0.125 307.7)
XYZxyz(54.4000, 45.0619, 92.2005)
Luminance0.4506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA1F5 #C9F5A1
analogous
#A3A1F5 #CDA1F5 #F5A1F3
triadic
#CDA1F5 #F5CDA1 #A1F5CD
tetradic
#CDA1F5 #F5A3A1 #C9F5A1 #A1F3F5
square
#CDA1F5 #F5A3A1 #C9F5A1 #A1F3F5
split-complementary
#CDA1F5 #F3F5A1 #A1F5A3
monochromatic
#9232E9 #B06AEF #CDA1F5 #EAD8FB #F0E3FC

Accessibility & contrast

On white

2.10
#CDA1F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#CDA1F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA1F5
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA1F5#FFFFFF#000000##000000
##CDA1F51.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B1F8
Deuteranopia (green-blind)
#9AB4F3
Tritanopia (blue-blind)
#C8ADC0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cda1f5;
/* rgb */ color: rgb(205, 161, 245);
/* oklch */ color: oklch(77.9% 0.125 307.7);
Tailwind
colors: {
  custom: {
    50: '#ddbdf8',
    500: '#cda1f5',
    950: '#000000',
  },
}
SCSS
$custom: #cda1f5;
$custom-light: #ddbdf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cda1f5",
  "rgb": {
    "r": 205,
    "g": 161,
    "b": 245
  },
  "hsl": {
    "h": 271.429,
    "s": 80.769,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77928,
    "c": 0.1251,
    "h": 307.7
  },
  "luminance": 0.45061
}

Semantic roles & 50–950 ramp

primary
#CDA1F5
secondary
#E5F4D7
accent
#DD086E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDA1F5

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

Preview Lab → · Contrast checker → · Palette generator →

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