#CDAFFA#CDAFFA

#CDAFFA is a light, moderate violet. Relative luminance 0.505; OKLCH L 80.6% C 0.108 H 302.4°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CDAFFA
RGBrgb(205, 175, 250)
HSLhsl(264, 88%, 83%)
HSVhsv(264, 30%, 98%)
CMYKcmyk(18%, 30%, 0%, 2%)
CIE-LABlab(76.40, 25.23, -33.22)
CIE-LCHlch(76.40, 41.72, 307.22°)
OKLaboklab(80.64% 0.058 -0.0914)
OKLCHoklch(80.64% 0.108 302.4)
XYZxyz(57.7586, 50.5412, 97.1365)
Luminance0.5054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFFA #DCFAAF
analogous
#AFB6FA #CDAFFA #F2AFFA
triadic
#CDAFFA #FACDAF #AFFACD
tetradic
#CDAFFA #FAAFB6 #DCFAAF #AFFAF2
square
#CDAFFA #FAAFB6 #DCFAAF #AFFAF2
split-complementary
#CDAFFA #FAF2AF #B6FAAF
monochromatic
#853CF3 #A975F6 #CDAFFA #EDE2FD #EDE2FD

Accessibility & contrast

On white

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

On black

11.11
#CDAFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFFA
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFFA#FFFFFF#000000##000000
##CDAFFA1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBCFD
Deuteranopia (green-blind)
#A5BCF8
Tritanopia (blue-blind)
#C6BACA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdaffa;
/* rgb */ color: rgb(205, 175, 250);
/* oklch */ color: oklch(80.6% 0.108 302.4);
Tailwind
colors: {
  custom: {
    50: '#ddc7fc',
    500: '#cdaffa',
    950: '#000000',
  },
}
SCSS
$custom: #cdaffa;
$custom-light: #ddc7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaffa",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 264,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.8064,
    "c": 0.10828,
    "h": 302.4
  },
  "luminance": 0.50541
}

Semantic roles & 50–950 ramp

primary
#CDAFFA
secondary
#B2DD70
accent
#E5018A
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CDAFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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