#CDAFEB#CDAFEB

#CDAFEB is a light, moderate violet. Relative luminance 0.496; OKLCH L 80.0% C 0.089 H 307.2°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CDAFEB
RGBrgb(205, 175, 235)
HSLhsl(270, 60%, 80%)
HSVhsv(270, 26%, 92%)
CMYKcmyk(12.8%, 25.5%, 0%, 7.8%)
CIE-LABlab(75.85, 22.02, -25.97)
CIE-LCHlch(75.85, 34.05, 310.30°)
OKLaboklab(80.03% 0.0539 -0.0709)
OKLCHoklch(80.03% 0.089 307.2)
XYZxyz(55.4994, 49.6376, 85.2384)
Luminance0.4964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFEB #CDEBAF
analogous
#AFAFEB #CDAFEB #EBAFEB
triadic
#CDAFEB #EBCDAF #AFEBCD
tetradic
#CDAFEB #EBAFAF #CDEBAF #AFEBEB
square
#CDAFEB #EBAFAF #CDEBAF #AFEBEB
split-complementary
#CDAFEB #EBEBAF #AFEBAF
monochromatic
#904DD3 #AE7EDF #CDAFEB #ECE0F7 #F0E7F9

Accessibility & contrast

On white

1.92
#CDAFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#CDAFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFEB
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFEB#FFFFFF#000000##000000
##CDAFEB1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BAEE
Deuteranopia (green-blind)
#AABBE9
Tritanopia (blue-blind)
#C9B7C4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdafeb;
/* rgb */ color: rgb(205, 175, 235);
/* oklch */ color: oklch(80.0% 0.089 307.2);
Tailwind
colors: {
  custom: {
    50: '#dcc7f1',
    500: '#cdafeb',
    950: '#000000',
  },
}
SCSS
$custom: #cdafeb;
$custom-light: #dcc7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdafeb",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.80032,
    "c": 0.08905,
    "h": 307.2
  },
  "luminance": 0.49637
}

Semantic roles & 50–950 ramp

primary
#CDAFEB
secondary
#E6F0DB
accent
#C81E73
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CDAFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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