#CDB8FE#CDB8FE

#CDB8FE is a very light, moderate violet. Relative luminance 0.544; OKLCH L 82.5% C 0.099 H 298.0°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#CDB8FE
RGBrgb(205, 184, 254)
HSLhsl(258, 97%, 86%)
HSVhsv(258, 28%, 100%)
CMYKcmyk(19.3%, 27.6%, 0%, 0.4%)
CIE-LABlab(78.70, 21.20, -31.82)
CIE-LCHlch(78.70, 38.23, 303.67°)
OKLaboklab(82.46% 0.0465 -0.0875)
OKLCHoklch(82.46% 0.099 298)
XYZxyz(60.2028, 54.4156, 101.0783)
Luminance0.5442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB8FE #E9FEB8
analogous
#B8C6FE #CDB8FE #F0B8FE
triadic
#CDB8FE #FECDB8 #B8FECD
tetradic
#CDB8FE #FEB8C6 #E9FEB8 #B8FEF0
square
#CDB8FE #FEB8C6 #E9FEB8 #B8FEF0
split-complementary
#CDB8FE #FEF0B8 #C6FEB8
monochromatic
#783FFC #A27CFD #CDB8FE #EAE1FF #EAE1FF

Accessibility & contrast

On white

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

On black

11.88
#CDB8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB8FE
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB8FE#FFFFFF#000000##000000
##CDB8FE1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9C3FF
Deuteranopia (green-blind)
#ACC2FC
Tritanopia (blue-blind)
#C4C3D1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdb8fe;
/* rgb */ color: rgb(205, 184, 254);
/* oklch */ color: oklch(82.5% 0.099 298.0);
Tailwind
colors: {
  custom: {
    50: '#ddcdff',
    500: '#cdb8fe',
    950: '#000000',
  },
}
SCSS
$custom: #cdb8fe;
$custom-light: #ddcdff;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb8fe",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 254
  },
  "hsl": {
    "h": 258,
    "s": 97.222,
    "l": 85.882
  },
  "oklch": {
    "l": 0.82459,
    "c": 0.09906,
    "h": 298
  },
  "luminance": 0.54416
}

Semantic roles & 50–950 ramp

primary
#CDB8FE
secondary
#C3E575
accent
#E600A1
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #CDB8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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