#CDA7FA#CDA7FA

#CDA7FA is a light, vivid violet. Relative luminance 0.475; OKLCH L 79.2% C 0.121 H 304.8°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CDA7FA
RGBrgb(205, 167, 250)
HSLhsl(267, 89%, 82%)
HSVhsv(267, 33%, 98%)
CMYKcmyk(18%, 33.2%, 0%, 2%)
CIE-LABlab(74.52, 29.61, -36.13)
CIE-LCHlch(74.52, 46.71, 309.33°)
OKLaboklab(79.2% 0.0692 -0.0997)
OKLCHoklch(79.2% 0.121 304.8)
XYZxyz(56.2474, 47.5189, 96.6328)
Luminance0.4752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA7FA #D4FAA7
analogous
#A7ABFA #CDA7FA #F7A7FA
triadic
#CDA7FA #FACDA7 #A7FACD
tetradic
#CDA7FA #FAA7AB #D4FAA7 #A7FAF7
square
#CDA7FA #FAA7AB #D4FAA7 #A7FAF7
split-complementary
#CDA7FA #FAF7A7 #ABFAA7
monochromatic
#8B33F3 #AC6DF7 #CDA7FA #EEE1FD #EFE2FD

Accessibility & contrast

On white

2.00
#CDA7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CDA7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA7FA
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA7FA#FFFFFF#000000##000000
##CDA7FA1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B6FD
Deuteranopia (green-blind)
#9DB7F8
Tritanopia (blue-blind)
#C6B3C5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cda7fa;
/* rgb */ color: rgb(205, 167, 250);
/* oklch */ color: oklch(79.2% 0.121 304.8);
Tailwind
colors: {
  custom: {
    50: '#ddc1fc',
    500: '#cda7fa',
    950: '#000000',
  },
}
SCSS
$custom: #cda7fa;
$custom-light: #ddc1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cda7fa",
  "rgb": {
    "r": 205,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 267.47,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79203,
    "c": 0.12138,
    "h": 304.8
  },
  "luminance": 0.47519
}

Semantic roles & 50–950 ramp

primary
#CDA7FA
secondary
#E7F5D6
accent
#E6007C
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDA7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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