#C8AFDF#C8AFDF

#C8AFDF is a light, moderate violet. Relative luminance 0.483; OKLCH L 79.1% C 0.072 H 308.3°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#C8AFDF
RGBrgb(200, 175, 223)
HSLhsl(271, 43%, 78%)
HSVhsv(271, 22%, 87%)
CMYKcmyk(10.3%, 21.5%, 0%, 12.5%)
CIE-LABlab(74.99, 17.95, -20.80)
CIE-LCHlch(74.99, 27.47, 310.79°)
OKLaboklab(79.13% 0.0447 -0.0565)
OKLCHoklch(79.13% 0.072 308.3)
XYZxyz(52.4663, 48.2673, 76.3503)
Luminance0.4827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFDF #C6DFAF
analogous
#B0AFDF #C8AFDF #DFAFDE
triadic
#C8AFDF #DFC8AF #AFDFC8
tetradic
#C8AFDF #DFB0AF #C6DFAF #AFDEDF
square
#C8AFDF #DFB0AF #C6DFAF #AFDEDF
split-complementary
#C8AFDF #DEDFAF #AFDFB0
monochromatic
#8C58BC #AA83CE #C8AFDF #E6DBF0 #F0E9F6

Accessibility & contrast

On white

1.97
#C8AFDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#C8AFDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFDF
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFDF#FFFFFF#000000##000000
##C8AFDF1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7B7E1
Deuteranopia (green-blind)
#ACB9DD
Tritanopia (blue-blind)
#C5B5BF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8afdf;
/* rgb */ color: rgb(200, 175, 223);
/* oklch */ color: oklch(79.1% 0.072 308.3);
Tailwind
colors: {
  custom: {
    50: '#d9c7e9',
    500: '#c8afdf',
    950: '#000000',
  },
}
SCSS
$custom: #c8afdf;
$custom-light: #d9c7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c8afdf",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 223
  },
  "hsl": {
    "h": 271.25,
    "s": 42.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79133,
    "c": 0.072,
    "h": 308.3
  },
  "luminance": 0.48267
}

Semantic roles & 50–950 ramp

primary
#C8AFDF
secondary
#E5EDDE
accent
#B63070
background
#FDFCFE
surface
#FAF8FC
border
#D3D1D5
text
#141316
muted
#838284

Preview Lab

Preview with #C8AFDF

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

Preview Lab → · Contrast checker → · Palette generator →

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