#CD8DF5#CD8DF5

#CD8DF5 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.158 H 311.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CD8DF5
RGBrgb(205, 141, 245)
HSLhsl(277, 84%, 76%)
HSVhsv(277, 42%, 96%)
CMYKcmyk(16.3%, 42.4%, 0%, 3.9%)
CIE-LABlab(68.48, 42.65, -42.83)
CIE-LCHlch(68.48, 60.44, 314.88°)
OKLaboklab(74.56% 0.1047 -0.1188)
OKLCHoklch(74.56% 0.158 311.4)
XYZxyz(51.1802, 38.6224, 91.1272)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DF5 #B5F58D
analogous
#998DF5 #CD8DF5 #F58DE9
triadic
#CD8DF5 #F5CD8D #8DF5CD
tetradic
#CD8DF5 #F5998D #B5F58D #8DE9F5
square
#CD8DF5 #F5998D #B5F58D #8DE9F5
split-complementary
#CD8DF5 #E9F58D #8DF599
monochromatic
#9C1CEB #B455F0 #CD8DF5 #E6C5FA #F3E3FD

Accessibility & contrast

On white

2.41
#CD8DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CD8DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DF5
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DF5#FFFFFF#000000##000000
##CD8DF51.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A4F9
Deuteranopia (green-blind)
#88A8F2
Tritanopia (blue-blind)
#C99DB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8df5;
/* rgb */ color: rgb(205, 141, 245);
/* oklch */ color: oklch(74.6% 0.158 311.4);
Tailwind
colors: {
  custom: {
    50: '#deaff9',
    500: '#cd8df5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8df5;
$custom-light: #deaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8df5",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 276.923,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7456,
    "c": 0.15835,
    "h": 311.4
  },
  "luminance": 0.38621
}

Semantic roles & 50–950 ramp

primary
#CD8DF5
secondary
#E2F4D7
accent
#E00559
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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