#CD8DF1#CD8DF1

#CD8DF1 is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.4% C 0.154 H 312.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#CD8DF1
RGBrgb(205, 141, 241)
HSLhsl(278, 78%, 75%)
HSVhsv(278, 41%, 95%)
CMYKcmyk(14.9%, 41.5%, 0%, 5.5%)
CIE-LABlab(68.30, 41.81, -40.91)
CIE-LCHlch(68.30, 58.50, 315.62°)
OKLaboklab(74.37% 0.104 -0.1133)
OKLCHoklch(74.37% 0.154 312.5)
XYZxyz(50.5762, 38.3807, 87.9459)
Luminance0.3838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DF1 #B1F18D
analogous
#9B8DF1 #CD8DF1 #F18DE3
triadic
#CD8DF1 #F1CD8D #8DF1CD
tetradic
#CD8DF1 #F19B8D #B1F18D #8DE3F1
square
#CD8DF1 #F19B8D #B1F18D #8DE3F1
split-complementary
#CD8DF1 #E3F18D #8DF19B
monochromatic
#9D20E4 #B556EA #CD8DF1 #E5C4F8 #F3E4FC

Accessibility & contrast

On white

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

On black

8.68
#CD8DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DF1
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DF1#FFFFFF#000000##000000
##CD8DF11.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA3F5
Deuteranopia (green-blind)
#8AA8EE
Tritanopia (blue-blind)
#CA9BB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8df1;
/* rgb */ color: rgb(205, 141, 241);
/* oklch */ color: oklch(74.4% 0.154 312.5);
Tailwind
colors: {
  custom: {
    50: '#deaff6',
    500: '#cd8df1',
    950: '#000000',
  },
}
SCSS
$custom: #cd8df1;
$custom-light: #deaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8df1",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 241
  },
  "hsl": {
    "h": 278.4,
    "s": 78.125,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74369,
    "c": 0.15377,
    "h": 312.5
  },
  "luminance": 0.3838
}

Semantic roles & 50–950 ramp

primary
#CD8DF1
secondary
#E2F3D8
accent
#DA0B56
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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