#C8A1DF#C8A1DF

#C8A1DF is a light, moderate violet. Relative luminance 0.431; OKLCH L 76.5% C 0.096 H 312.6°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#C8A1DF
RGBrgb(200, 161, 223)
HSLhsl(278, 49%, 75%)
HSVhsv(278, 28%, 87%)
CMYKcmyk(10.3%, 27.8%, 0%, 12.5%)
CIE-LABlab(71.62, 25.63, -25.94)
CIE-LCHlch(71.62, 36.47, 314.65°)
OKLaboklab(76.54% 0.0652 -0.0708)
OKLCHoklch(76.54% 0.096 312.6)
XYZxyz(49.8814, 43.0975, 75.4886)
Luminance0.4310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A1DF #B8DFA1
analogous
#A9A1DF #C8A1DF #DFA1D7
triadic
#C8A1DF #DFC8A1 #A1DFC8
tetradic
#C8A1DF #DFA9A1 #B8DFA1 #A1D7DF
square
#C8A1DF #DFA9A1 #B8DFA1 #A1D7DF
split-complementary
#C8A1DF #D7DFA1 #A1DFA9
monochromatic
#9346C0 #AD73CF #C8A1DF #E3CFEF #F2E8F7

Accessibility & contrast

On white

2.18
#C8A1DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#C8A1DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A1DF
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A1DF#FFFFFF#000000##000000
##C8A1DF1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ADE2
Deuteranopia (green-blind)
#A0B0DD
Tritanopia (blue-blind)
#C6A9B7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c8a1df;
/* rgb */ color: rgb(200, 161, 223);
/* oklch */ color: oklch(76.5% 0.096 312.6);
Tailwind
colors: {
  custom: {
    50: '#d9bde9',
    500: '#c8a1df',
    950: '#000000',
  },
}
SCSS
$custom: #c8a1df;
$custom-light: #d9bde9;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a1df",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 223
  },
  "hsl": {
    "h": 277.742,
    "s": 49.206,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76539,
    "c": 0.09625,
    "h": 312.6
  },
  "luminance": 0.43097
}

Semantic roles & 50–950 ramp

primary
#C8A1DF
secondary
#E3EEDD
accent
#BD2960
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A1DF

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

Preview Lab → · Contrast checker → · Palette generator →

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