#CDA1FA#CDA1FA

#CDA1FA is a light, vivid violet. Relative luminance 0.454; OKLCH L 78.1% C 0.131 H 306.3°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CDA1FA
RGBrgb(205, 161, 250)
HSLhsl(270, 90%, 81%)
HSVhsv(270, 36%, 98%)
CMYKcmyk(18%, 35.6%, 0%, 2%)
CIE-LABlab(73.14, 32.89, -38.28)
CIE-LCHlch(73.14, 50.47, 310.67°)
OKLaboklab(78.15% 0.0777 -0.1058)
OKLCHoklch(78.15% 0.131 306.3)
XYZxyz(55.1736, 45.3714, 96.2749)
Luminance0.4537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA1FA #CEFAA1
analogous
#A1A1FA #CDA1FA #FAA1FA
triadic
#CDA1FA #FACDA1 #A1FACD
tetradic
#CDA1FA #FAA1A1 #CEFAA1 #A1FAFA
square
#CDA1FA #FAA1A1 #CEFAA1 #A1FAFA
split-complementary
#CDA1FA #FAFAA1 #A1FAA1
monochromatic
#8F2DF4 #AE67F7 #CDA1FA #ECDBFD #F0E2FD

Accessibility & contrast

On white

2.08
#CDA1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#CDA1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA1FA
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA1FA#FFFFFF#000000##000000
##CDA1FA1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FD
Deuteranopia (green-blind)
#98B4F7
Tritanopia (blue-blind)
#C7AEC2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cda1fa;
/* rgb */ color: rgb(205, 161, 250);
/* oklch */ color: oklch(78.1% 0.131 306.3);
Tailwind
colors: {
  custom: {
    50: '#ddbdfc',
    500: '#cda1fa',
    950: '#000000',
  },
}
SCSS
$custom: #cda1fa;
$custom-light: #ddbdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cda1fa",
  "rgb": {
    "r": 205,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 269.663,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78149,
    "c": 0.13127,
    "h": 306.3
  },
  "luminance": 0.45371
}

Semantic roles & 50–950 ramp

primary
#CDA1FA
secondary
#E6F6D5
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDA1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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