#CD8DFB#CD8DFB

#CD8DFB is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.9% C 0.165 H 309.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CD8DFB
RGBrgb(205, 141, 251)
HSLhsl(275, 93%, 77%)
HSVhsv(275, 44%, 98%)
CMYKcmyk(18.3%, 43.8%, 0%, 1.6%)
CIE-LABlab(68.75, 43.94, -45.68)
CIE-LCHlch(68.75, 63.38, 313.89°)
OKLaboklab(74.85% 0.1057 -0.1271)
OKLCHoklch(74.85% 0.165 309.7)
XYZxyz(52.1111, 38.9947, 96.0296)
Luminance0.3899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DFB #BBFB8D
analogous
#968DFB #CD8DFB #FB8DF2
triadic
#CD8DFB #FBCD8D #8DFBCD
tetradic
#CD8DFB #FB968D #BBFB8D #8DF2FB
square
#CD8DFB #FB968D #BBFB8D #8DF2FB
split-complementary
#CD8DFB #F2FB8D #8DFB96
monochromatic
#9917F7 #B352F9 #CD8DFB #E7C8FD #F2E1FE

Accessibility & contrast

On white

2.39
#CD8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CD8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DFB
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DFB#FFFFFF#000000##000000
##CD8DFB1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#C79EB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd8dfb;
/* rgb */ color: rgb(205, 141, 251);
/* oklch */ color: oklch(74.9% 0.165 309.7);
Tailwind
colors: {
  custom: {
    50: '#deaffd',
    500: '#cd8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dfb;
$custom-light: #deaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dfb",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 274.909,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74851,
    "c": 0.16525,
    "h": 309.7
  },
  "luminance": 0.38994
}

Semantic roles & 50–950 ramp

primary
#CD8DFB
secondary
#E3F6D5
accent
#E60060
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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