#CDA2FC#CDA2FC

#CDA2FC is a light, vivid violet. Relative luminance 0.458; OKLCH L 78.4% C 0.132 H 305.5°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CDA2FC
RGBrgb(205, 162, 252)
HSLhsl(269, 94%, 81%)
HSVhsv(269, 36%, 99%)
CMYKcmyk(18.7%, 35.7%, 0%, 1.2%)
CIE-LABlab(73.45, 32.78, -38.88)
CIE-LCHlch(73.45, 50.85, 310.14°)
OKLaboklab(78.41% 0.0767 -0.1075)
OKLCHoklch(78.41% 0.132 305.5)
XYZxyz(55.6644, 45.8484, 97.9937)
Luminance0.4585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA2FC #D1FCA2
analogous
#A2A4FC #CDA2FC #FAA2FC
triadic
#CDA2FC #FCCDA2 #A2FCCD
tetradic
#CDA2FC #FCA2A4 #D1FCA2 #A2FCFA
square
#CDA2FC #FCA2A4 #D1FCA2 #A2FCFA
split-complementary
#CDA2FC #FCFAA2 #A4FCA2
monochromatic
#8D2BF8 #AD67FA #CDA2FC #EDDDFE #EFE1FE

Accessibility & contrast

On white

2.06
#CDA2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CDA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA2FC
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA2FC#FFFFFF#000000##000000
##CDA2FC1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#98B5F9
Tritanopia (blue-blind)
#C6B0C3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cda2fc;
/* rgb */ color: rgb(205, 162, 252);
/* oklch */ color: oklch(78.4% 0.132 305.5);
Tailwind
colors: {
  custom: {
    50: '#ddbefd',
    500: '#cda2fc',
    950: '#000000',
  },
}
SCSS
$custom: #cda2fc;
$custom-light: #ddbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#cda2fc",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 268.667,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.78412,
    "c": 0.1321,
    "h": 305.5
  },
  "luminance": 0.45848
}

Semantic roles & 50–950 ramp

primary
#CDA2FC
secondary
#E6F6D5
accent
#E60078
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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