#CDAFFF#CDAFFF

#CDAFFF is a light, moderate violet. Relative luminance 0.509; OKLCH L 80.9% C 0.115 H 301.1°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#CDAFFF
RGBrgb(205, 175, 255)
HSLhsl(263, 100%, 84%)
HSVhsv(263, 31%, 100%)
CMYKcmyk(19.6%, 31.4%, 0%, 0%)
CIE-LABlab(76.59, 26.33, -35.61)
CIE-LCHlch(76.59, 44.29, 306.48°)
OKLaboklab(80.85% 0.0593 -0.0983)
OKLCHoklch(80.85% 0.115 301.1)
XYZxyz(58.5530, 50.8590, 101.3204)
Luminance0.5086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFFF #E1FFAF
analogous
#AFB9FF #CDAFFF #F5AFFF
triadic
#CDAFFF #FFCDAF #AFFFCD
tetradic
#CDAFFF #FFAFB9 #E1FFAF #AFFFF5
square
#CDAFFF #FFAFB9 #E1FFAF #AFFFF5
split-complementary
#CDAFFF #FFF5AF #B9FFAF
monochromatic
#8135FF #A772FF #CDAFFF #ECE0FF #ECE0FF

Accessibility & contrast

On white

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

On black

11.17
#CDAFFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFFF
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFFF#FFFFFF#000000##000000
##CDAFFF1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBDFF
Deuteranopia (green-blind)
#A3BDFD
Tritanopia (blue-blind)
#C4BBCC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cdafff;
/* rgb */ color: rgb(205, 175, 255);
/* oklch */ color: oklch(80.9% 0.115 301.1);
Tailwind
colors: {
  custom: {
    50: '#ddc7ff',
    500: '#cdafff',
    950: '#000000',
  },
}
SCSS
$custom: #cdafff;
$custom-light: #ddc7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cdafff",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 255
  },
  "hsl": {
    "h": 262.5,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.80852,
    "c": 0.11475,
    "h": 301.1
  },
  "luminance": 0.50859
}

Semantic roles & 50–950 ramp

primary
#CDAFFF
secondary
#B8E56D
accent
#E6008F
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CDAFFF

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

Preview Lab → · Contrast checker → · Palette generator →

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