#CD8DF4#CD8DF4

#CD8DF4 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.5% C 0.157 H 311.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CD8DF4
RGBrgb(205, 141, 244)
HSLhsl(277, 82%, 75%)
HSVhsv(277, 42%, 96%)
CMYKcmyk(16%, 42.2%, 0%, 4.3%)
CIE-LABlab(68.43, 42.44, -42.35)
CIE-LCHlch(68.43, 59.96, 315.06°)
OKLaboklab(74.51% 0.1045 -0.1174)
OKLCHoklch(74.51% 0.157 311.7)
XYZxyz(51.0280, 38.5615, 90.3254)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DF4 #B4F48D
analogous
#998DF4 #CD8DF4 #F48DE7
triadic
#CD8DF4 #F4CD8D #8DF4CD
tetradic
#CD8DF4 #F4998D #B4F48D #8DE7F4
square
#CD8DF4 #F4998D #B4F48D #8DE7F4
split-complementary
#CD8DF4 #E7F48D #8DF499
monochromatic
#9C1DE9 #B555EF #CD8DF4 #E5C5F9 #F3E3FC

Accessibility & contrast

On white

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

On black

8.71
#CD8DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DF4
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DF4#FFFFFF#000000##000000
##CD8DF41.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A4F8
Deuteranopia (green-blind)
#88A8F1
Tritanopia (blue-blind)
#C99CB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8df4;
/* rgb */ color: rgb(205, 141, 244);
/* oklch */ color: oklch(74.5% 0.157 311.7);
Tailwind
colors: {
  custom: {
    50: '#deaff8',
    500: '#cd8df4',
    950: '#000000',
  },
}
SCSS
$custom: #cd8df4;
$custom-light: #deaff8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8df4",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 244
  },
  "hsl": {
    "h": 277.282,
    "s": 82.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74512,
    "c": 0.1572,
    "h": 311.7
  },
  "luminance": 0.38561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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