#CDA0FE#CDA0FE

#CDA0FE is a light, vivid violet. Relative luminance 0.453; OKLCH L 78.2% C 0.138 H 305.4°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CDA0FE
RGBrgb(205, 160, 254)
HSLhsl(269, 98%, 81%)
HSVhsv(269, 37%, 100%)
CMYKcmyk(19.3%, 37%, 0%, 0.4%)
CIE-LABlab(73.07, 34.31, -40.54)
CIE-LCHlch(73.07, 53.11, 310.24°)
OKLaboklab(78.16% 0.0799 -0.1123)
OKLCHoklch(78.16% 0.138 305.4)
XYZxyz(55.6334, 45.2768, 99.5552)
Luminance0.4528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA0FE #D1FEA0
analogous
#A0A2FE #CDA0FE #FCA0FE
triadic
#CDA0FE #FECDA0 #A0FECD
tetradic
#CDA0FE #FEA0A2 #D1FEA0 #A0FEFC
square
#CDA0FE #FEA0A2 #D1FEA0 #A0FEFC
split-complementary
#CDA0FE #FEFCA0 #A2FEA0
monochromatic
#8D27FD #AD63FD #CDA0FE #EDDDFF #EFE1FF

Accessibility & contrast

On white

2.09
#CDA0FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#CDA0FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA0FE
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA0FE#FFFFFF#000000##000000
##CDA0FE1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#95B4FB
Tritanopia (blue-blind)
#C6AEC3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cda0fe;
/* rgb */ color: rgb(205, 160, 254);
/* oklch */ color: oklch(78.2% 0.138 305.4);
Tailwind
colors: {
  custom: {
    50: '#ddbcff',
    500: '#cda0fe',
    950: '#000000',
  },
}
SCSS
$custom: #cda0fe;
$custom-light: #ddbcff;
$custom-dark: #000000;
JSON
{
  "hex": "#cda0fe",
  "rgb": {
    "r": 205,
    "g": 160,
    "b": 254
  },
  "hsl": {
    "h": 268.723,
    "s": 97.917,
    "l": 81.176
  },
  "oklch": {
    "l": 0.78156,
    "c": 0.13785,
    "h": 305.4
  },
  "luminance": 0.45277
}

Semantic roles & 50–950 ramp

primary
#CDA0FE
secondary
#E6F7D4
accent
#E60078
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA0FE

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

Preview Lab → · Contrast checker → · Palette generator →

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