#C8A2EA#C8A2EA

#C8A2EA is a light, moderate violet. Relative luminance 0.441; OKLCH L 77.2% C 0.108 H 308.1°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#C8A2EA
RGBrgb(200, 162, 234)
HSLhsl(272, 63%, 78%)
HSVhsv(272, 31%, 92%)
CMYKcmyk(14.5%, 30.8%, 0%, 8.2%)
CIE-LABlab(72.27, 27.39, -30.96)
CIE-LCHlch(72.27, 41.33, 311.50°)
OKLaboklab(77.17% 0.0667 -0.085)
OKLCHoklch(77.17% 0.108 308.1)
XYZxyz(51.5883, 44.0610, 83.6128)
Luminance0.4406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2EA #C4EAA2
analogous
#A4A2EA #C8A2EA #EAA2E8
triadic
#C8A2EA #EAC8A2 #A2EAC8
tetradic
#C8A2EA #EAA4A2 #C4EAA2 #A2E8EA
square
#C8A2EA #EAA4A2 #C4EAA2 #A2E8EA
split-complementary
#C8A2EA #E8EAA2 #A2EAA4
monochromatic
#8D3ED3 #AA70DF #C8A2EA #E6D4F5 #F0E6F9

Accessibility & contrast

On white

2.14
#C8A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#C8A2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2EA
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2EA#FFFFFF#000000##000000
##C8A2EA1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0ED
Deuteranopia (green-blind)
#9DB2E8
Tritanopia (blue-blind)
#C4ACBC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a2ea;
/* rgb */ color: rgb(200, 162, 234);
/* oklch */ color: oklch(77.2% 0.108 308.1);
Tailwind
colors: {
  custom: {
    50: '#d9bef1',
    500: '#c8a2ea',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2ea;
$custom-light: #d9bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2ea",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 271.667,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77171,
    "c": 0.10807,
    "h": 308.1
  },
  "luminance": 0.44061
}

Semantic roles & 50–950 ramp

primary
#C8A2EA
secondary
#E5F1DA
accent
#CB1B6E
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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