#CDA2FA#CDA2FA

#CDA2FA is a light, vivid violet. Relative luminance 0.457; OKLCH L 78.3% C 0.130 H 306.0°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#CDA2FA
RGBrgb(205, 162, 250)
HSLhsl(269, 90%, 81%)
HSVhsv(269, 35%, 98%)
CMYKcmyk(18%, 35.2%, 0%, 2%)
CIE-LABlab(73.36, 32.34, -37.92)
CIE-LCHlch(73.36, 49.84, 310.46°)
OKLaboklab(78.32% 0.0763 -0.1048)
OKLCHoklch(78.32% 0.13 306)
XYZxyz(55.3491, 45.7223, 96.3334)
Luminance0.4572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA2FA #CFFAA2
analogous
#A2A3FA #CDA2FA #F9A2FA
triadic
#CDA2FA #FACDA2 #A2FACD
tetradic
#CDA2FA #FAA2A3 #CFFAA2 #A2FAF9
square
#CDA2FA #FAA2A3 #CFFAA2 #A2FAF9
split-complementary
#CDA2FA #FAF9A2 #A3FAA2
monochromatic
#8F2EF4 #AE68F7 #CDA2FA #ECDCFD #EFE2FD

Accessibility & contrast

On white

2.07
#CDA2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#CDA2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA2FA
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA2FA#FFFFFF#000000##000000
##CDA2FA1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FD
Deuteranopia (green-blind)
#99B5F8
Tritanopia (blue-blind)
#C6AFC3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cda2fa;
/* rgb */ color: rgb(205, 162, 250);
/* oklch */ color: oklch(78.3% 0.130 306.0);
Tailwind
colors: {
  custom: {
    50: '#ddbefc',
    500: '#cda2fa',
    950: '#000000',
  },
}
SCSS
$custom: #cda2fa;
$custom-light: #ddbefc;
$custom-dark: #000000;
JSON
{
  "hex": "#cda2fa",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 269.318,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78323,
    "c": 0.12962,
    "h": 306
  },
  "luminance": 0.45722
}

Semantic roles & 50–950 ramp

primary
#CDA2FA
secondary
#E6F6D5
accent
#E60075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDA2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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