#CDA3FE#CDA3FE

#CDA3FE is a light, vivid violet. Relative luminance 0.463; OKLCH L 78.7% C 0.133 H 304.7°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#CDA3FE
RGBrgb(205, 163, 254)
HSLhsl(268, 98%, 82%)
HSVhsv(268, 36%, 100%)
CMYKcmyk(19.3%, 35.8%, 0%, 0.4%)
CIE-LABlab(73.76, 32.67, -39.47)
CIE-LCHlch(73.76, 51.24, 309.61°)
OKLaboklab(78.68% 0.0758 -0.1093)
OKLCHoklch(78.68% 0.133 304.7)
XYZxyz(56.1598, 46.3295, 99.7306)
Luminance0.4633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA3FE #D4FEA3
analogous
#A3A7FE #CDA3FE #FAA3FE
triadic
#CDA3FE #FECDA3 #A3FECD
tetradic
#CDA3FE #FEA3A7 #D4FEA3 #A3FEFA
square
#CDA3FE #FEA3A7 #D4FEA3 #A3FEFA
split-complementary
#CDA3FE #FEFAA3 #A7FEA3
monochromatic
#8B2AFD #AC66FD #CDA3FE #EEE0FF #EFE1FF

Accessibility & contrast

On white

2.05
#CDA3FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#CDA3FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA3FE
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA3FE#FFFFFF#000000##000000
##CDA3FE1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#98B5FB
Tritanopia (blue-blind)
#C5B1C5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cda3fe;
/* rgb */ color: rgb(205, 163, 254);
/* oklch */ color: oklch(78.7% 0.133 304.7);
Tailwind
colors: {
  custom: {
    50: '#ddbeff',
    500: '#cda3fe',
    950: '#000000',
  },
}
SCSS
$custom: #cda3fe;
$custom-light: #ddbeff;
$custom-dark: #000000;
JSON
{
  "hex": "#cda3fe",
  "rgb": {
    "r": 205,
    "g": 163,
    "b": 254
  },
  "hsl": {
    "h": 267.692,
    "s": 97.849,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78677,
    "c": 0.13296,
    "h": 304.7
  },
  "luminance": 0.46329
}

Semantic roles & 50–950 ramp

primary
#CDA3FE
secondary
#E7F7D4
accent
#E6007C
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA3FE

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

Preview Lab → · Contrast checker → · Palette generator →

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