#CDAFFD#CDAFFD

#CDAFFD is a light, moderate violet. Relative luminance 0.507; OKLCH L 80.8% C 0.112 H 301.6°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#CDAFFD
RGBrgb(205, 175, 253)
HSLhsl(263, 95%, 84%)
HSVhsv(263, 31%, 99%)
CMYKcmyk(19%, 30.8%, 0%, 0.8%)
CIE-LABlab(76.52, 25.89, -34.66)
CIE-LCHlch(76.52, 43.26, 306.76°)
OKLaboklab(80.77% 0.0588 -0.0955)
OKLCHoklch(80.77% 0.112 301.6)
XYZxyz(58.2327, 50.7309, 99.6336)
Luminance0.5073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFFD #DFFDAF
analogous
#AFB8FD #CDAFFD #F4AFFD
triadic
#CDAFFD #FDCDAF #AFFDCD
tetradic
#CDAFFD #FDAFB8 #DFFDAF #AFFDF4
square
#CDAFFD #FDAFB8 #DFFDAF #AFFDF4
split-complementary
#CDAFFD #FDF4AF #B8FDAF
monochromatic
#8238FA #A873FC #CDAFFD #ECE1FE #ECE1FE

Accessibility & contrast

On white

1.88
#CDAFFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#CDAFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFFD
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFFD#FFFFFF#000000##000000
##CDAFFD1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBCFF
Deuteranopia (green-blind)
#A4BCFB
Tritanopia (blue-blind)
#C5BBCB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdaffd;
/* rgb */ color: rgb(205, 175, 253);
/* oklch */ color: oklch(80.8% 0.112 301.6);
Tailwind
colors: {
  custom: {
    50: '#ddc7fe',
    500: '#cdaffd',
    950: '#000000',
  },
}
SCSS
$custom: #cdaffd;
$custom-light: #ddc7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaffd",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 263.077,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.80767,
    "c": 0.11215,
    "h": 301.6
  },
  "luminance": 0.50731
}

Semantic roles & 50–950 ramp

primary
#CDAFFD
secondary
#B5E26E
accent
#E6008D
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CDAFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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