#CDA7FE#CDA7FE

#CDA7FE is a light, vivid violet. Relative luminance 0.478; OKLCH L 79.4% C 0.126 H 303.7°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CDA7FE
RGBrgb(205, 167, 254)
HSLhsl(266, 98%, 83%)
HSVhsv(266, 34%, 100%)
CMYKcmyk(19.3%, 34.3%, 0%, 0.4%)
CIE-LABlab(74.68, 30.49, -38.04)
CIE-LCHlch(74.68, 48.75, 308.71°)
OKLaboklab(79.38% 0.0702 -0.1052)
OKLCHoklch(79.38% 0.126 303.7)
XYZxyz(56.8813, 47.7725, 99.9711)
Luminance0.4777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA7FE #D8FEA7
analogous
#A7ACFE #CDA7FE #F9A7FE
triadic
#CDA7FE #FECDA7 #A7FECD
tetradic
#CDA7FE #FEA7AC #D8FEA7 #A7FEF9
square
#CDA7FE #FEA7AC #D8FEA7 #A7FEF9
split-complementary
#CDA7FE #FEF9A7 #ACFEA7
monochromatic
#882EFD #AB6AFD #CDA7FE #EEE1FF #EEE1FF

Accessibility & contrast

On white

1.99
#CDA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#CDA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA7FE
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA7FE#FFFFFF#000000##000000
##CDA7FE1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B7FF
Deuteranopia (green-blind)
#9CB8FC
Tritanopia (blue-blind)
#C5B4C7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cda7fe;
/* rgb */ color: rgb(205, 167, 254);
/* oklch */ color: oklch(79.4% 0.126 303.7);
Tailwind
colors: {
  custom: {
    50: '#ddc1ff',
    500: '#cda7fe',
    950: '#000000',
  },
}
SCSS
$custom: #cda7fe;
$custom-light: #ddc1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cda7fe",
  "rgb": {
    "r": 205,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 266.207,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.79378,
    "c": 0.12643,
    "h": 303.7
  },
  "luminance": 0.47772
}

Semantic roles & 50–950 ramp

primary
#CDA7FE
secondary
#E8F7D4
accent
#E60081
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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