#CD8DF8#CD8DF8

#CD8DF8 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.7% C 0.162 H 310.5°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CD8DF8
RGBrgb(205, 141, 248)
HSLhsl(276, 88%, 76%)
HSVhsv(276, 43%, 97%)
CMYKcmyk(17.3%, 43.1%, 0%, 2.7%)
CIE-LABlab(68.61, 43.29, -44.26)
CIE-LCHlch(68.61, 61.91, 314.37°)
OKLaboklab(74.71% 0.1052 -0.1229)
OKLCHoklch(74.71% 0.162 310.5)
XYZxyz(51.6419, 38.8070, 93.5588)
Luminance0.3881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DF8 #B8F88D
analogous
#988DF8 #CD8DF8 #F88DEE
triadic
#CD8DF8 #F8CD8D #8DF8CD
tetradic
#CD8DF8 #F8988D #B8F88D #8DEEF8
square
#CD8DF8 #F8988D #B8F88D #8DEEF8
split-complementary
#CD8DF8 #EEF88D #8DF898
monochromatic
#9A1AF1 #B453F4 #CD8DF8 #E6C7FC #F2E2FD

Accessibility & contrast

On white

2.40
#CD8DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CD8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DF8
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DF8#FFFFFF#000000##000000
##CD8DF81.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#86A9F5
Tritanopia (blue-blind)
#C89DB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8df8;
/* rgb */ color: rgb(205, 141, 248);
/* oklch */ color: oklch(74.7% 0.162 310.5);
Tailwind
colors: {
  custom: {
    50: '#deaffb',
    500: '#cd8df8',
    950: '#000000',
  },
}
SCSS
$custom: #cd8df8;
$custom-light: #deaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8df8",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 275.888,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74705,
    "c": 0.16179,
    "h": 310.5
  },
  "luminance": 0.38806
}

Semantic roles & 50–950 ramp

primary
#CD8DF8
secondary
#E2F5D6
accent
#E5005C
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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