#C8A5DF#C8A5DF

#C8A5DF is a light, moderate violet. Relative luminance 0.445; OKLCH L 77.3% C 0.089 H 311.6°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#C8A5DF
RGBrgb(200, 165, 223)
HSLhsl(276, 48%, 76%)
HSVhsv(276, 26%, 87%)
CMYKcmyk(10.3%, 26%, 0%, 12.5%)
CIE-LABlab(72.57, 23.43, -24.48)
CIE-LCHlch(72.57, 33.89, 313.74°)
OKLaboklab(77.27% 0.0593 -0.0667)
OKLCHoklch(77.27% 0.089 311.6)
XYZxyz(50.5916, 44.5179, 75.7254)
Luminance0.4452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5DF #BCDFA5
analogous
#ABA5DF #C8A5DF #DFA5D9
triadic
#C8A5DF #DFC8A5 #A5DFC8
tetradic
#C8A5DF #DFABA5 #BCDFA5 #A5D9DF
square
#C8A5DF #DFABA5 #BCDFA5 #A5D9DF
split-complementary
#C8A5DF #D9DFA5 #A5DFAB
monochromatic
#914BBF #AC78CF #C8A5DF #E4D2EF #F1E8F7

Accessibility & contrast

On white

2.12
#C8A5DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#C8A5DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5DF
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5DF#FFFFFF#000000##000000
##C8A5DF1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB0E1
Deuteranopia (green-blind)
#A3B3DD
Tritanopia (blue-blind)
#C6ACB9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a5df;
/* rgb */ color: rgb(200, 165, 223);
/* oklch */ color: oklch(77.3% 0.089 311.6);
Tailwind
colors: {
  custom: {
    50: '#d9c0e9',
    500: '#c8a5df',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5df;
$custom-light: #d9c0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5df",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 223
  },
  "hsl": {
    "h": 276.207,
    "s": 47.541,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77269,
    "c": 0.08929,
    "h": 311.6
  },
  "luminance": 0.44517
}

Semantic roles & 50–950 ramp

primary
#C8A5DF
secondary
#E4EEDD
accent
#BB2B64
background
#FDFBFE
surface
#FAF7FC
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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