#C8AFE8#C8AFE8

#C8AFE8 is a light, moderate violet. Relative luminance 0.488; OKLCH L 79.5% C 0.084 H 304.6°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#C8AFE8
RGBrgb(200, 175, 232)
HSLhsl(266, 55%, 80%)
HSVhsv(266, 25%, 91%)
CMYKcmyk(13.8%, 24.6%, 0%, 9%)
CIE-LABlab(75.31, 19.82, -25.21)
CIE-LCHlch(75.31, 32.07, 308.18°)
OKLaboklab(79.48% 0.0474 -0.0688)
OKLCHoklch(79.48% 0.084 304.6)
XYZxyz(53.7121, 48.7656, 82.9113)
Luminance0.4876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFE8 #CFE8AF
analogous
#AFB3E8 #C8AFE8 #E5AFE8
triadic
#C8AFE8 #E8C8AF #AFE8C8
tetradic
#C8AFE8 #E8AFB3 #CFE8AF #AFE8E5
square
#C8AFE8 #E8AFB3 #CFE8AF #AFE8E5
split-complementary
#C8AFE8 #E8E5AF #B3E8AF
monochromatic
#8750CD #A77FDA #C8AFE8 #E9DFF6 #EFE7F8

Accessibility & contrast

On white

1.95
#C8AFE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#C8AFE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFE8
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFE8#FFFFFF#000000##000000
##C8AFE81.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5B9EA
Deuteranopia (green-blind)
#A9BAE6
Tritanopia (blue-blind)
#C3B7C3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8afe8;
/* rgb */ color: rgb(200, 175, 232);
/* oklch */ color: oklch(79.5% 0.084 304.6);
Tailwind
colors: {
  custom: {
    50: '#d9c7ef',
    500: '#c8afe8',
    950: '#000000',
  },
}
SCSS
$custom: #c8afe8;
$custom-light: #d9c7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c8afe8",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 232
  },
  "hsl": {
    "h": 266.316,
    "s": 55.34,
    "l": 79.804
  },
  "oklch": {
    "l": 0.79477,
    "c": 0.08358,
    "h": 304.6
  },
  "luminance": 0.48765
}

Semantic roles & 50–950 ramp

primary
#C8AFE8
secondary
#E7EFDC
accent
#C3237D
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141316
muted
#838284

Preview Lab

Preview with #C8AFE8

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

Preview Lab → · Contrast checker → · Palette generator →

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