#CDA8FF#CDA8FF

#CDA8FF is a light, vivid violet. Relative luminance 0.482; OKLCH L 79.6% C 0.126 H 303.2°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CDA8FF
RGBrgb(205, 168, 255)
HSLhsl(266, 100%, 83%)
HSVhsv(266, 34%, 100%)
CMYKcmyk(19.6%, 34.1%, 0%, 0%)
CIE-LABlab(74.95, 30.16, -38.16)
CIE-LCHlch(74.95, 48.64, 308.32°)
OKLaboklab(79.6% 0.069 -0.1055)
OKLCHoklch(79.6% 0.126 303.2)
XYZxyz(57.2257, 48.2045, 100.8780)
Luminance0.4820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA8FF #DAFFA8
analogous
#A8AEFF #CDA8FF #F8A8FF
triadic
#CDA8FF #FFCDA8 #A8FFCD
tetradic
#CDA8FF #FFA8AE #DAFFA8 #A8FFF8
square
#CDA8FF #FFA8AE #DAFFA8 #A8FFF8
split-complementary
#CDA8FF #FFF8A8 #AEFFA8
monochromatic
#872EFF #AA6BFF #CDA8FF #EDE0FF #EDE0FF

Accessibility & contrast

On white

1.97
#CDA8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#CDA8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA8FF
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA8FF#FFFFFF#000000##000000
##CDA8FF1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B8FF
Deuteranopia (green-blind)
#9CB8FD
Tritanopia (blue-blind)
#C5B5C8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cda8ff;
/* rgb */ color: rgb(205, 168, 255);
/* oklch */ color: oklch(79.6% 0.126 303.2);
Tailwind
colors: {
  custom: {
    50: '#ddc2ff',
    500: '#cda8ff',
    950: '#000000',
  },
}
SCSS
$custom: #cda8ff;
$custom-light: #ddc2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cda8ff",
  "rgb": {
    "r": 205,
    "g": 168,
    "b": 255
  },
  "hsl": {
    "h": 265.517,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.796,
    "c": 0.12607,
    "h": 303.2
  },
  "luminance": 0.48204
}

Semantic roles & 50–950 ramp

primary
#CDA8FF
secondary
#E8F7D4
accent
#E60084
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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