#CDAFF4#CDAFF4

#CDAFF4 is a light, moderate violet. Relative luminance 0.502; OKLCH L 80.4% C 0.101 H 304.1°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CDAFF4
RGBrgb(205, 175, 244)
HSLhsl(266, 76%, 82%)
HSVhsv(266, 28%, 96%)
CMYKcmyk(16%, 28.3%, 0%, 4.3%)
CIE-LABlab(76.17, 23.93, -30.33)
CIE-LCHlch(76.17, 38.64, 308.27°)
OKLaboklab(80.39% 0.0564 -0.0832)
OKLCHoklch(80.39% 0.101 304.1)
XYZxyz(56.8327, 50.1709, 92.2603)
Luminance0.5017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFF4 #D6F4AF
analogous
#AFB4F4 #CDAFF4 #F0AFF4
triadic
#CDAFF4 #F4CDAF #AFF4CD
tetradic
#CDAFF4 #F4AFB4 #D6F4AF #AFF4F0
square
#CDAFF4 #F4AFB4 #D6F4AF #AFF4F0
split-complementary
#CDAFF4 #F4F0AF #B4F4AF
monochromatic
#8A43E5 #AB79ED #CDAFF4 #EEE4FB #EEE4FB

Accessibility & contrast

On white

1.90
#CDAFF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#CDAFF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFF4
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFF4#FFFFFF#000000##000000
##CDAFF41.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BBF7
Deuteranopia (green-blind)
#A7BCF2
Tritanopia (blue-blind)
#C7B9C7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cdaff4;
/* rgb */ color: rgb(205, 175, 244);
/* oklch */ color: oklch(80.4% 0.101 304.1);
Tailwind
colors: {
  custom: {
    50: '#ddc7f8',
    500: '#cdaff4',
    950: '#000000',
  },
}
SCSS
$custom: #cdaff4;
$custom-light: #ddc7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaff4",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 244
  },
  "hsl": {
    "h": 266.087,
    "s": 75.824,
    "l": 82.157
  },
  "oklch": {
    "l": 0.80392,
    "c": 0.10053,
    "h": 304.1
  },
  "luminance": 0.50171
}

Semantic roles & 50–950 ramp

primary
#CDAFF4
secondary
#AAD473
accent
#D80D80
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CDAFF4

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

Preview Lab → · Contrast checker → · Palette generator →

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