#CD8DF0#CD8DF0

#CD8DF0 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.3% C 0.153 H 312.8°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CD8DF0
RGBrgb(205, 141, 240)
HSLhsl(279, 77%, 75%)
HSVhsv(279, 41%, 94%)
CMYKcmyk(14.6%, 41.3%, 0%, 5.9%)
CIE-LABlab(68.26, 41.60, -40.43)
CIE-LCHlch(68.26, 58.01, 315.81°)
OKLaboklab(74.32% 0.1038 -0.1119)
OKLCHoklch(74.32% 0.153 312.8)
XYZxyz(50.4273, 38.3212, 87.1614)
Luminance0.3832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DF0 #B0F08D
analogous
#9C8DF0 #CD8DF0 #F08DE1
triadic
#CD8DF0 #F0CD8D #8DF0CD
tetradic
#CD8DF0 #F09C8D #B0F08D #8DE1F0
square
#CD8DF0 #F09C8D #B0F08D #8DE1F0
split-complementary
#CD8DF0 #E1F08D #8DF09C
monochromatic
#9E21E2 #B557E9 #CD8DF0 #E5C3F7 #F3E4FB

Accessibility & contrast

On white

2.42
#CD8DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CD8DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DF0
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DF0#FFFFFF#000000##000000
##CD8DF01.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA3F4
Deuteranopia (green-blind)
#8AA8ED
Tritanopia (blue-blind)
#CA9BB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8df0;
/* rgb */ color: rgb(205, 141, 240);
/* oklch */ color: oklch(74.3% 0.153 312.8);
Tailwind
colors: {
  custom: {
    50: '#deaff5',
    500: '#cd8df0',
    950: '#000000',
  },
}
SCSS
$custom: #cd8df0;
$custom-light: #deaff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8df0",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 240
  },
  "hsl": {
    "h": 278.788,
    "s": 76.744,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74322,
    "c": 0.15263,
    "h": 312.8
  },
  "luminance": 0.3832
}

Semantic roles & 50–950 ramp

primary
#CD8DF0
secondary
#E1F3D8
accent
#D90D55
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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