#C8AFE5#C8AFE5

#C8AFE5 is a light, moderate violet. Relative luminance 0.486; OKLCH L 79.4% C 0.080 H 305.7°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#C8AFE5
RGBrgb(200, 175, 229)
HSLhsl(268, 51%, 79%)
HSVhsv(268, 24%, 90%)
CMYKcmyk(12.7%, 23.6%, 0%, 10.2%)
CIE-LABlab(75.20, 19.19, -23.74)
CIE-LCHlch(75.20, 30.53, 308.94°)
OKLaboklab(79.36% 0.0465 -0.0647)
OKLCHoklch(79.36% 0.08 305.7)
XYZxyz(53.2896, 48.5966, 80.6863)
Luminance0.4860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFE5 #CCE5AF
analogous
#AFB1E5 #C8AFE5 #E3AFE5
triadic
#C8AFE5 #E5C8AF #AFE5C8
tetradic
#C8AFE5 #E5AFB1 #CCE5AF #AFE5E3
square
#C8AFE5 #E5AFB1 #CCE5AF #AFE5E3
split-complementary
#C8AFE5 #E5E3AF #B1E5AF
monochromatic
#8853C7 #A881D6 #C8AFE5 #E8DDF4 #EFE8F7

Accessibility & contrast

On white

1.96
#C8AFE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#C8AFE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFE5
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFE5#FFFFFF#000000##000000
##C8AFE51.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5B8E7
Deuteranopia (green-blind)
#AAB9E3
Tritanopia (blue-blind)
#C4B6C2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8afe5;
/* rgb */ color: rgb(200, 175, 229);
/* oklch */ color: oklch(79.4% 0.080 305.7);
Tailwind
colors: {
  custom: {
    50: '#d9c7ed',
    500: '#c8afe5',
    950: '#000000',
  },
}
SCSS
$custom: #c8afe5;
$custom-light: #d9c7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c8afe5",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 229
  },
  "hsl": {
    "h": 267.778,
    "s": 50.943,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79361,
    "c": 0.0797,
    "h": 305.7
  },
  "luminance": 0.48596
}

Semantic roles & 50–950 ramp

primary
#C8AFE5
secondary
#E6EFDC
accent
#BE2778
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141316
muted
#838284

Preview Lab

Preview with #C8AFE5

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

Preview Lab → · Contrast checker → · Palette generator →

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