#CD8DF3#CD8DF3

#CD8DF3 is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.5% C 0.156 H 312.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#CD8DF3
RGBrgb(205, 141, 243)
HSLhsl(278, 81%, 75%)
HSVhsv(278, 42%, 95%)
CMYKcmyk(15.6%, 42%, 0%, 4.7%)
CIE-LABlab(68.39, 42.23, -41.87)
CIE-LCHlch(68.39, 59.47, 315.24°)
OKLaboklab(74.46% 0.1043 -0.116)
OKLCHoklch(74.46% 0.156 312)
XYZxyz(50.8766, 38.5009, 89.5279)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DF3 #B3F38D
analogous
#9A8DF3 #CD8DF3 #F38DE6
triadic
#CD8DF3 #F3CD8D #8DF3CD
tetradic
#CD8DF3 #F39A8D #B3F38D #8DE6F3
square
#CD8DF3 #F39A8D #B3F38D #8DE6F3
split-complementary
#CD8DF3 #E6F38D #8DF39A
monochromatic
#9C1EE7 #B556ED #CD8DF3 #E5C4F9 #F3E3FC

Accessibility & contrast

On white

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

On black

8.70
#CD8DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DF3
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DF3#FFFFFF#000000##000000
##CD8DF31.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F7
Deuteranopia (green-blind)
#89A8F0
Tritanopia (blue-blind)
#C99CB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8df3;
/* rgb */ color: rgb(205, 141, 243);
/* oklch */ color: oklch(74.5% 0.156 312.0);
Tailwind
colors: {
  custom: {
    50: '#deaff7',
    500: '#cd8df3',
    950: '#000000',
  },
}
SCSS
$custom: #cd8df3;
$custom-light: #deaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8df3",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 243
  },
  "hsl": {
    "h": 277.647,
    "s": 80.952,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74464,
    "c": 0.15606,
    "h": 312
  },
  "luminance": 0.385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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