#C8A5DC#C8A5DC

#C8A5DC is a light, moderate violet. Relative luminance 0.444; OKLCH L 77.2% C 0.086 H 313.0°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#C8A5DC
RGBrgb(200, 165, 220)
HSLhsl(278, 44%, 75%)
HSVhsv(278, 25%, 86%)
CMYKcmyk(9.1%, 25%, 0%, 13.7%)
CIE-LABlab(72.47, 22.82, -23.01)
CIE-LCHlch(72.47, 32.40, 314.76°)
OKLaboklab(77.15% 0.0584 -0.0626)
OKLCHoklch(77.15% 0.086 313)
XYZxyz(50.1907, 44.3576, 73.6141)
Luminance0.4436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5DC #B9DCA5
analogous
#ACA5DC #C8A5DC #DCA5D4
triadic
#C8A5DC #DCC8A5 #A5DCC8
tetradic
#C8A5DC #DCACA5 #B9DCA5 #A5D4DC
square
#C8A5DC #DCACA5 #B9DCA5 #A5D4DC
split-complementary
#C8A5DC #D4DCA5 #A5DCAC
monochromatic
#924DBA #AD79CB #C8A5DC #E3D1ED #F2E9F6

Accessibility & contrast

On white

2.13
#C8A5DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#C8A5DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5DC
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5DC#FFFFFF#000000##000000
##C8A5DC1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB0DE
Deuteranopia (green-blind)
#A4B3DA
Tritanopia (blue-blind)
#C7ACB8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a5dc;
/* rgb */ color: rgb(200, 165, 220);
/* oklch */ color: oklch(77.2% 0.086 313.0);
Tailwind
colors: {
  custom: {
    50: '#d9c0e7',
    500: '#c8a5dc',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5dc;
$custom-light: #d9c0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5dc",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 220
  },
  "hsl": {
    "h": 278.182,
    "s": 44,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77152,
    "c": 0.08562,
    "h": 313
  },
  "luminance": 0.44357
}

Semantic roles & 50–950 ramp

primary
#C8A5DC
secondary
#E3EDDE
accent
#B72E60
background
#FDFBFE
surface
#FAF7FC
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A5DC

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

Preview Lab → · Contrast checker → · Palette generator →

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