#CDBAFF#CDBAFF

#CDBAFF is a very light, moderate violet. Relative luminance 0.553; OKLCH L 82.9% C 0.097 H 296.9°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CDBAFF
RGBrgb(205, 186, 255)
HSLhsl(257, 100%, 86%)
HSVhsv(257, 27%, 100%)
CMYKcmyk(19.6%, 27.1%, 0%, 0%)
CIE-LABlab(79.22, 20.33, -31.56)
CIE-LCHlch(79.22, 37.54, 302.79°)
OKLaboklab(82.87% 0.0439 -0.0868)
OKLCHoklch(82.87% 0.097 296.9)
XYZxyz(60.7818, 55.3166, 102.0633)
Luminance0.5532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBAFF #ECFFBA
analogous
#BACAFF #CDBAFF #F0BAFF
triadic
#CDBAFF #FFCDBA #BAFFCD
tetradic
#CDBAFF #FFBACA #ECFFBA #BAFFF0
square
#CDBAFF #FFBACA #ECFFBA #BAFFF0
split-complementary
#CDBAFF #FFF0BA #CAFFBA
monochromatic
#7440FF #A17DFF #CDBAFF #E9E0FF #E9E0FF

Accessibility & contrast

On white

1.74
#CDBAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CDBAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBAFF
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBAFF#FFFFFF#000000##000000
##CDBAFF1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC5FF
Deuteranopia (green-blind)
#ADC3FD
Tritanopia (blue-blind)
#C4C5D2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdbaff;
/* rgb */ color: rgb(205, 186, 255);
/* oklch */ color: oklch(82.9% 0.097 296.9);
Tailwind
colors: {
  custom: {
    50: '#ddceff',
    500: '#cdbaff',
    950: '#000000',
  },
}
SCSS
$custom: #cdbaff;
$custom-light: #ddceff;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbaff",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 255
  },
  "hsl": {
    "h": 256.522,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.82872,
    "c": 0.09725,
    "h": 296.9
  },
  "luminance": 0.55317
}

Semantic roles & 50–950 ramp

primary
#CDBAFF
secondary
#C8E776
accent
#E600A6
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151318
muted
#848386

Preview Lab

Preview with #CDBAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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