#CDA2FF#CDA2FF

#CDA2FF is a light, vivid violet. Relative luminance 0.460; OKLCH L 78.5% C 0.136 H 304.7°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#CDA2FF
RGBrgb(205, 162, 255)
HSLhsl(268, 100%, 82%)
HSVhsv(268, 36%, 100%)
CMYKcmyk(19.6%, 36.5%, 0%, 0%)
CIE-LABlab(73.57, 33.44, -40.31)
CIE-LCHlch(73.57, 52.37, 309.68°)
OKLaboklab(78.55% 0.0774 -0.1116)
OKLCHoklch(78.55% 0.136 304.7)
XYZxyz(56.1435, 46.0400, 100.5172)
Luminance0.4604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA2FF #D4FFA2
analogous
#A2A6FF #CDA2FF #FCA2FF
triadic
#CDA2FF #FFCDA2 #A2FFCD
tetradic
#CDA2FF #FFA2A6 #D4FFA2 #A2FFFC
square
#CDA2FF #FFA2A6 #D4FFA2 #A2FFFC
split-complementary
#CDA2FF #FFFCA2 #A6FFA2
monochromatic
#8B28FF #AC65FF #CDA2FF #EEDFFF #EFE0FF

Accessibility & contrast

On white

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

On black

10.21
#CDA2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA2FF
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA2FF#FFFFFF#000000##000000
##CDA2FF1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#97B5FC
Tritanopia (blue-blind)
#C5B0C5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cda2ff;
/* rgb */ color: rgb(205, 162, 255);
/* oklch */ color: oklch(78.5% 0.136 304.7);
Tailwind
colors: {
  custom: {
    50: '#ddbeff',
    500: '#cda2ff',
    950: '#000000',
  },
}
SCSS
$custom: #cda2ff;
$custom-light: #ddbeff;
$custom-dark: #000000;
JSON
{
  "hex": "#cda2ff",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 267.742,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78548,
    "c": 0.13583,
    "h": 304.7
  },
  "luminance": 0.4604
}

Semantic roles & 50–950 ramp

primary
#CDA2FF
secondary
#E7F7D4
accent
#E6007B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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