#C8A2E2#C8A2E2

#C8A2E2 is a light, moderate violet. Relative luminance 0.436; OKLCH L 76.8% C 0.098 H 311.1°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#C8A2E2
RGBrgb(200, 162, 226)
HSLhsl(276, 52%, 76%)
HSVhsv(276, 28%, 89%)
CMYKcmyk(11.5%, 28.3%, 0%, 11.4%)
CIE-LABlab(71.97, 25.70, -27.05)
CIE-LCHlch(71.97, 37.31, 313.53°)
OKLaboklab(76.84% 0.0646 -0.0739)
OKLCHoklch(76.84% 0.098 311.1)
XYZxyz(50.4649, 43.6116, 77.6961)
Luminance0.4361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2E2 #BCE2A2
analogous
#A8A2E2 #C8A2E2 #E2A2DC
triadic
#C8A2E2 #E2C8A2 #A2E2C8
tetradic
#C8A2E2 #E2A8A2 #BCE2A2 #A2DCE2
square
#C8A2E2 #E2A8A2 #BCE2A2 #A2DCE2
split-complementary
#C8A2E2 #DCE2A2 #A2E2A8
monochromatic
#9145C5 #AC73D3 #C8A2E2 #E4D1F1 #F1E8F8

Accessibility & contrast

On white

2.16
#C8A2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#C8A2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2E2
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2E2#FFFFFF#000000##000000
##C8A2E21.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98AEE5
Deuteranopia (green-blind)
#A0B1E0
Tritanopia (blue-blind)
#C5AAB9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8a2e2;
/* rgb */ color: rgb(200, 162, 226);
/* oklch */ color: oklch(76.8% 0.098 311.1);
Tailwind
colors: {
  custom: {
    50: '#d9bdeb',
    500: '#c8a2e2',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2e2;
$custom-light: #d9bdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2e2",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 275.625,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76841,
    "c": 0.09817,
    "h": 311.1
  },
  "luminance": 0.43611
}

Semantic roles & 50–950 ramp

primary
#C8A2E2
secondary
#E4EFDC
accent
#C02664
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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