#CDBAEF#CDBAEF

#CDBAEF is a very light, moderate violet. Relative luminance 0.543; OKLCH L 82.2% C 0.076 H 301.1°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CDBAEF
RGBrgb(205, 186, 239)
HSLhsl(262, 62%, 83%)
HSVhsv(262, 22%, 94%)
CMYKcmyk(14.2%, 22.2%, 0%, 6.3%)
CIE-LABlab(78.65, 16.87, -23.85)
CIE-LCHlch(78.65, 29.21, 305.28°)
OKLaboklab(82.24% 0.0393 -0.065)
OKLCHoklch(82.24% 0.076 301.1)
XYZxyz(58.3126, 54.3289, 89.0591)
Luminance0.5433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBAEF #DCEFBA
analogous
#BAC1EF #CDBAEF #E7BAEF
triadic
#CDBAEF #EFCDBA #BAEFCD
tetradic
#CDBAEF #EFBAC1 #DCEFBA #BAEFE7
square
#CDBAEF #EFBAC1 #DCEFBA #BAEFE7
split-complementary
#CDBAEF #EFE7BA #C1EFBA
monochromatic
#8557D8 #A988E3 #CDBAEF #EDE6F9 #EDE6F9

Accessibility & contrast

On white

1.77
#CDBAEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CDBAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBAEF
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBAEF#FFFFFF#000000##000000
##CDBAEF1.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0C2F1
Deuteranopia (green-blind)
#B3C2ED
Tritanopia (blue-blind)
#C8C2CC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdbaef;
/* rgb */ color: rgb(205, 186, 239);
/* oklch */ color: oklch(82.2% 0.076 301.1);
Tailwind
colors: {
  custom: {
    50: '#dccef4',
    500: '#cdbaef',
    950: '#000000',
  },
}
SCSS
$custom: #cdbaef;
$custom-light: #dccef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbaef",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 239
  },
  "hsl": {
    "h": 261.509,
    "s": 62.353,
    "l": 83.333
  },
  "oklch": {
    "l": 0.82243,
    "c": 0.07595,
    "h": 301.1
  },
  "luminance": 0.54329
}

Semantic roles & 50–950 ramp

primary
#CDBAEF
secondary
#B2CD80
accent
#CA1B8B
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151317
muted
#848385

Preview Lab

Preview with #CDBAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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