#C8AFDC#C8AFDC

#C8AFDC is a light, moderate violet. Relative luminance 0.481; OKLCH L 79.0% C 0.068 H 309.9°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#C8AFDC
RGBrgb(200, 175, 220)
HSLhsl(273, 39%, 77%)
HSVhsv(273, 20%, 86%)
CMYKcmyk(9.1%, 20.5%, 0%, 13.7%)
CIE-LABlab(74.89, 17.33, -19.32)
CIE-LCHlch(74.89, 25.95, 311.90°)
OKLaboklab(79.02% 0.0437 -0.0523)
OKLCHoklch(79.02% 0.068 309.9)
XYZxyz(52.0654, 48.1070, 74.2390)
Luminance0.4811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFDC #C3DCAF
analogous
#B2AFDC #C8AFDC #DCAFDA
triadic
#C8AFDC #DCC8AF #AFDCC8
tetradic
#C8AFDC #DCB2AF #C3DCAF #AFDADC
square
#C8AFDC #DCB2AF #C3DCAF #AFDADC
split-complementary
#C8AFDC #DADCAF #AFDCB2
monochromatic
#8D5AB7 #AB84C9 #C8AFDC #E5DAEF #F0EAF6

Accessibility & contrast

On white

1.98
#C8AFDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#C8AFDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFDC
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFDC#FFFFFF#000000##000000
##C8AFDC1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8B7DE
Deuteranopia (green-blind)
#ADB9DB
Tritanopia (blue-blind)
#C6B5BE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8afdc;
/* rgb */ color: rgb(200, 175, 220);
/* oklch */ color: oklch(79.0% 0.068 309.9);
Tailwind
colors: {
  custom: {
    50: '#d9c7e7',
    500: '#c8afdc',
    950: '#000000',
  },
}
SCSS
$custom: #c8afdc;
$custom-light: #d9c7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8afdc",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 220
  },
  "hsl": {
    "h": 273.333,
    "s": 39.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79022,
    "c": 0.06821,
    "h": 309.9
  },
  "luminance": 0.48107
}

Semantic roles & 50–950 ramp

primary
#C8AFDC
secondary
#E5ECDF
accent
#B2336C
background
#FDFCFE
surface
#FAF8FC
border
#D3D1D5
text
#141316
muted
#838284

Preview Lab

Preview with #C8AFDC

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

Preview Lab → · Contrast checker → · Palette generator →

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