#C8A8DF#C8A8DF

#C8A8DF is a light, moderate violet. Relative luminance 0.456; OKLCH L 77.8% C 0.084 H 310.8°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#C8A8DF
RGBrgb(200, 168, 223)
HSLhsl(275, 46%, 77%)
HSVhsv(275, 25%, 87%)
CMYKcmyk(10.3%, 24.7%, 0%, 12.5%)
CIE-LABlab(73.29, 21.78, -23.39)
CIE-LCHlch(73.29, 31.96, 312.97°)
OKLaboklab(77.82% 0.0549 -0.0637)
OKLCHoklch(77.82% 0.084 310.8)
XYZxyz(51.1390, 45.6128, 75.9078)
Luminance0.4561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A8DF #BFDFA8
analogous
#ADA8DF #C8A8DF #DFA8DB
triadic
#C8A8DF #DFC8A8 #A8DFC8
tetradic
#C8A8DF #DFADA8 #BFDFA8 #A8DBDF
square
#C8A8DF #DFADA8 #BFDFA8 #A8DBDF
split-complementary
#C8A8DF #DBDFA8 #A8DFAD
monochromatic
#8F4FBE #AC7BCF #C8A8DF #E4D5EF #F1E9F7

Accessibility & contrast

On white

2.07
#C8A8DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#C8A8DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A8DF
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A8DF#FFFFFF#000000##000000
##C8A8DF1.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB2E1
Deuteranopia (green-blind)
#A6B5DD
Tritanopia (blue-blind)
#C6AFBB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a8df;
/* rgb */ color: rgb(200, 168, 223);
/* oklch */ color: oklch(77.8% 0.084 310.8);
Tailwind
colors: {
  custom: {
    50: '#d9c2e9',
    500: '#c8a8df',
    950: '#000000',
  },
}
SCSS
$custom: #c8a8df;
$custom-light: #d9c2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a8df",
  "rgb": {
    "r": 200,
    "g": 168,
    "b": 223
  },
  "hsl": {
    "h": 274.909,
    "s": 46.218,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77823,
    "c": 0.08408,
    "h": 310.8
  },
  "luminance": 0.45612
}

Semantic roles & 50–950 ramp

primary
#C8A8DF
secondary
#E4EEDD
accent
#B92C67
background
#FDFBFE
surface
#FAF7FC
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A8DF

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

Preview Lab → · Contrast checker → · Palette generator →

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