#CDA7FF#CDA7FF

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

Color values

HEX#CDA7FF
RGBrgb(205, 167, 255)
HSLhsl(266, 100%, 83%)
HSVhsv(266, 35%, 100%)
CMYKcmyk(19.6%, 34.5%, 0%, 0%)
CIE-LABlab(74.72, 30.71, -38.52)
CIE-LCHlch(74.72, 49.26, 308.56°)
OKLaboklab(79.42% 0.0704 -0.1065)
OKLCHoklch(79.42% 0.128 303.5)
XYZxyz(57.0418, 47.8367, 100.8167)
Luminance0.4784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA7FF #D9FFA7
analogous
#A7ADFF #CDA7FF #F9A7FF
triadic
#CDA7FF #FFCDA7 #A7FFCD
tetradic
#CDA7FF #FFA7AD #D9FFA7 #A7FFF9
square
#CDA7FF #FFA7AD #D9FFA7 #A7FFF9
split-complementary
#CDA7FF #FFF9A7 #ADFFA7
monochromatic
#872DFF #AA6AFF #CDA7FF #EEE0FF #EEE0FF

Accessibility & contrast

On white

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

On black

10.57
#CDA7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA7FF
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA7FF#FFFFFF#000000##000000
##CDA7FF1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cda7ff;
/* rgb */ color: rgb(205, 167, 255);
/* oklch */ color: oklch(79.4% 0.128 303.5);
Tailwind
colors: {
  custom: {
    50: '#ddc1ff',
    500: '#cda7ff',
    950: '#000000',
  },
}
SCSS
$custom: #cda7ff;
$custom-light: #ddc1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cda7ff",
  "rgb": {
    "r": 205,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 265.909,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.79423,
    "c": 0.1277,
    "h": 303.5
  },
  "luminance": 0.47837
}

Semantic roles & 50–950 ramp

primary
#CDA7FF
secondary
#E8F7D4
accent
#E60082
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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