#CDAFFC#CDAFFC

#CDAFFC is a light, moderate violet. Relative luminance 0.507; OKLCH L 80.7% C 0.111 H 301.8°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#CDAFFC
RGBrgb(205, 175, 252)
HSLhsl(263, 93%, 84%)
HSVhsv(263, 31%, 99%)
CMYKcmyk(18.7%, 30.6%, 0%, 1.2%)
CIE-LABlab(76.48, 25.67, -34.18)
CIE-LCHlch(76.48, 42.75, 306.91°)
OKLaboklab(80.73% 0.0585 -0.0942)
OKLCHoklch(80.73% 0.111 301.8)
XYZxyz(58.0738, 50.6673, 98.7969)
Luminance0.5067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFFC #DEFCAF
analogous
#AFB7FC #CDAFFC #F4AFFC
triadic
#CDAFFC #FCCDAF #AFFCCD
tetradic
#CDAFFC #FCAFB7 #DEFCAF #AFFCF4
square
#CDAFFC #FCAFB7 #DEFCAF #AFFCF4
split-complementary
#CDAFFC #FCF4AF #B7FCAF
monochromatic
#8339F8 #A874FA #CDAFFC #EDE2FE #EDE2FE

Accessibility & contrast

On white

1.89
#CDAFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#CDAFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFFC
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFFC#FFFFFF#000000##000000
##CDAFFC1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdaffc;
/* rgb */ color: rgb(205, 175, 252);
/* oklch */ color: oklch(80.7% 0.111 301.8);
Tailwind
colors: {
  custom: {
    50: '#ddc7fd',
    500: '#cdaffc',
    950: '#000000',
  },
}
SCSS
$custom: #cdaffc;
$custom-light: #ddc7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaffc",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 263.377,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.80725,
    "c": 0.11086,
    "h": 301.8
  },
  "luminance": 0.50667
}

Semantic roles & 50–950 ramp

primary
#CDAFFC
secondary
#B4E06F
accent
#E6008C
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CDAFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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