#CD8DFF#CD8DFF

#CD8DFF is a light, vivid violet. Relative luminance 0.392; OKLCH L 75.0% C 0.170 H 308.7°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CD8DFF
RGBrgb(205, 141, 255)
HSLhsl(274, 100%, 78%)
HSVhsv(274, 45%, 100%)
CMYKcmyk(19.6%, 44.7%, 0%, 0%)
CIE-LABlab(68.93, 44.81, -47.57)
CIE-LCHlch(68.93, 65.35, 313.28°)
OKLaboklab(75.05% 0.1063 -0.1325)
OKLCHoklch(75.05% 0.17 308.7)
XYZxyz(52.7483, 39.2496, 99.3855)
Luminance0.3925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DFF #BFFF8D
analogous
#948DFF #CD8DFF #FF8DF8
triadic
#CD8DFF #FFCD8D #8DFFCD
tetradic
#CD8DFF #FF948D #BFFF8D #8DF8FF
square
#CD8DFF #FF948D #BFFF8D #8DF8FF
split-complementary
#CD8DFF #F8FF8D #8DFF94
monochromatic
#9713FF #B250FF #CD8DFF #E8CAFF #F2E0FF

Accessibility & contrast

On white

2.37
#CD8DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CD8DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DFF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DFF#FFFFFF#000000##000000
##CD8DFF1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#83A9FC
Tritanopia (blue-blind)
#C69FBA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cd8dff;
/* rgb */ color: rgb(205, 141, 255);
/* oklch */ color: oklch(75.0% 0.170 308.7);
Tailwind
colors: {
  custom: {
    50: '#deafff',
    500: '#cd8dff',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dff;
$custom-light: #deafff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dff",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 273.684,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75049,
    "c": 0.16987,
    "h": 308.7
  },
  "luminance": 0.39249
}

Semantic roles & 50–950 ramp

primary
#CD8DFF
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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