#CDAFF1#CDAFF1

#CDAFF1 is a light, moderate violet. Relative luminance 0.500; OKLCH L 80.3% C 0.097 H 305.1°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#CDAFF1
RGBrgb(205, 175, 241)
HSLhsl(267, 70%, 82%)
HSVhsv(267, 27%, 95%)
CMYKcmyk(14.9%, 27.4%, 0%, 5.5%)
CIE-LABlab(76.06, 23.29, -28.88)
CIE-LCHlch(76.06, 37.10, 308.88°)
OKLaboklab(80.27% 0.0556 -0.0791)
OKLCHoklch(80.27% 0.097 305.1)
XYZxyz(56.3809, 49.9902, 89.8809)
Luminance0.4999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFF1 #D3F1AF
analogous
#AFB2F1 #CDAFF1 #EEAFF1
triadic
#CDAFF1 #F1CDAF #AFF1CD
tetradic
#CDAFF1 #F1AFB2 #D3F1AF #AFF1EE
square
#CDAFF1 #F1AFB2 #D3F1AF #AFF1EE
split-complementary
#CDAFF1 #F1EEAF #B2F1AF
monochromatic
#8C47DF #AC7BE8 #CDAFF1 #EEE3FA #EFE5FA

Accessibility & contrast

On white

1.91
#CDAFF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#CDAFF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFF1
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFF1#FFFFFF#000000##000000
##CDAFF11.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BBF4
Deuteranopia (green-blind)
#A8BCEF
Tritanopia (blue-blind)
#C8B8C6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdaff1;
/* rgb */ color: rgb(205, 175, 241);
/* oklch */ color: oklch(80.3% 0.097 305.1);
Tailwind
colors: {
  custom: {
    50: '#ddc7f5',
    500: '#cdaff1',
    950: '#000000',
  },
}
SCSS
$custom: #cdaff1;
$custom-light: #ddc7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaff1",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 241
  },
  "hsl": {
    "h": 267.273,
    "s": 70.213,
    "l": 81.569
  },
  "oklch": {
    "l": 0.80271,
    "c": 0.09669,
    "h": 305.1
  },
  "luminance": 0.4999
}

Semantic roles & 50–950 ramp

primary
#CDAFF1
secondary
#E7F2D9
accent
#D2137B
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151317
muted
#838285

Preview Lab

Preview with #CDAFF1

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

Preview Lab → · Contrast checker → · Palette generator →

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