#C8A2E5#C8A2E5

#C8A2E5 is a light, moderate violet. Relative luminance 0.438; OKLCH L 77.0% C 0.102 H 309.9°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#C8A2E5
RGBrgb(200, 162, 229)
HSLhsl(274, 56%, 77%)
HSVhsv(274, 29%, 90%)
CMYKcmyk(12.7%, 29.3%, 0%, 10.2%)
CIE-LABlab(72.08, 26.33, -28.52)
CIE-LCHlch(72.08, 38.82, 312.71°)
OKLaboklab(76.96% 0.0654 -0.0781)
OKLCHoklch(76.96% 0.102 309.9)
XYZxyz(50.8801, 43.7777, 79.8831)
Luminance0.4378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2E5 #BFE5A2
analogous
#A7A2E5 #C8A2E5 #E5A2E1
triadic
#C8A2E5 #E5C8A2 #A2E5C8
tetradic
#C8A2E5 #E5A7A2 #BFE5A2 #A2E1E5
square
#C8A2E5 #E5A7A2 #BFE5A2 #A2E1E5
split-complementary
#C8A2E5 #E1E5A2 #A2E5A7
monochromatic
#8F42CA #AC72D8 #C8A2E5 #E4D2F2 #F1E7F8

Accessibility & contrast

On white

2.15
#C8A2E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#C8A2E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2E5
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2E5#FFFFFF#000000##000000
##C8A2E51.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AFE8
Deuteranopia (green-blind)
#9FB1E3
Tritanopia (blue-blind)
#C5ABBA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a2e5;
/* rgb */ color: rgb(200, 162, 229);
/* oklch */ color: oklch(77.0% 0.102 309.9);
Tailwind
colors: {
  custom: {
    50: '#d9bded',
    500: '#c8a2e5',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2e5;
$custom-light: #d9bded;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2e5",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 229
  },
  "hsl": {
    "h": 274.03,
    "s": 56.303,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76963,
    "c": 0.10186,
    "h": 309.9
  },
  "luminance": 0.43777
}

Semantic roles & 50–950 ramp

primary
#C8A2E5
secondary
#E4F0DB
accent
#C42268
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A2E5

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

Preview Lab → · Contrast checker → · Palette generator →

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