#CDBAFE#CDBAFE

#CDBAFE is a very light, moderate violet. Relative luminance 0.553; OKLCH L 82.8% C 0.096 H 297.1°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CDBAFE
RGBrgb(205, 186, 254)
HSLhsl(257, 97%, 86%)
HSVhsv(257, 27%, 100%)
CMYKcmyk(19.3%, 26.8%, 0%, 0.4%)
CIE-LABlab(79.19, 20.11, -31.08)
CIE-LCHlch(79.19, 37.02, 302.90°)
OKLaboklab(82.83% 0.0437 -0.0854)
OKLCHoklch(82.83% 0.096 297.1)
XYZxyz(60.6212, 55.2523, 101.2177)
Luminance0.5525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDBAFE #EBFEBA
analogous
#BAC9FE #CDBAFE #EFBAFE
triadic
#CDBAFE #FECDBA #BAFECD
tetradic
#CDBAFE #FEBAC9 #EBFEBA #BAFEEF
square
#CDBAFE #FEBAC9 #EBFEBA #BAFEEF
split-complementary
#CDBAFE #FEEFBA #C9FEBA
monochromatic
#7641FC #A17EFD #CDBAFE #E9E1FF #E9E1FF

Accessibility & contrast

On white

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

On black

12.05
#CDBAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDBAFE
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDBAFE#FFFFFF#000000##000000
##CDBAFE1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdbafe;
/* rgb */ color: rgb(205, 186, 254);
/* oklch */ color: oklch(82.8% 0.096 297.1);
Tailwind
colors: {
  custom: {
    50: '#ddceff',
    500: '#cdbafe',
    950: '#000000',
  },
}
SCSS
$custom: #cdbafe;
$custom-light: #ddceff;
$custom-dark: #000000;
JSON
{
  "hex": "#cdbafe",
  "rgb": {
    "r": 205,
    "g": 186,
    "b": 254
  },
  "hsl": {
    "h": 256.765,
    "s": 97.143,
    "l": 86.275
  },
  "oklch": {
    "l": 0.82831,
    "c": 0.09592,
    "h": 297.1
  },
  "luminance": 0.55253
}

Semantic roles & 50–950 ramp

primary
#CDBAFE
secondary
#C6E577
accent
#E600A5
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151318
muted
#848386

Preview Lab

Preview with #CDBAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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