#C8A2E3#C8A2E3

#C8A2E3 is a light, moderate violet. Relative luminance 0.437; OKLCH L 76.9% C 0.099 H 310.7°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#C8A2E3
RGBrgb(200, 162, 227)
HSLhsl(275, 54%, 76%)
HSVhsv(275, 29%, 89%)
CMYKcmyk(11.9%, 28.6%, 0%, 11%)
CIE-LABlab(72.01, 25.91, -27.54)
CIE-LCHlch(72.01, 37.81, 313.25°)
OKLaboklab(76.88% 0.0649 -0.0753)
OKLCHoklch(76.88% 0.099 310.7)
XYZxyz(50.6025, 43.6666, 78.4209)
Luminance0.4367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2E3 #BDE3A2
analogous
#A8A2E3 #C8A2E3 #E3A2DE
triadic
#C8A2E3 #E3C8A2 #A2E3C8
tetradic
#C8A2E3 #E3A8A2 #BDE3A2 #A2DEE3
square
#C8A2E3 #E3A8A2 #BDE3A2 #A2DEE3
split-complementary
#C8A2E3 #DEE3A2 #A2E3A8
monochromatic
#9044C7 #AC73D5 #C8A2E3 #E4D1F1 #F1E7F8

Accessibility & contrast

On white

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

On black

9.73
#C8A2E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2E3
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2E3#FFFFFF#000000##000000
##C8A2E31.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AFE6
Deuteranopia (green-blind)
#9FB1E1
Tritanopia (blue-blind)
#C5AAB9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8a2e3;
/* rgb */ color: rgb(200, 162, 227);
/* oklch */ color: oklch(76.9% 0.099 310.7);
Tailwind
colors: {
  custom: {
    50: '#d9bdec',
    500: '#c8a2e3',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2e3;
$custom-light: #d9bdec;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2e3",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 227
  },
  "hsl": {
    "h": 275.077,
    "s": 53.719,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76882,
    "c": 0.09939,
    "h": 310.7
  },
  "luminance": 0.43666
}

Semantic roles & 50–950 ramp

primary
#C8A2E3
secondary
#E4EFDC
accent
#C12465
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A2E3

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

Preview Lab → · Contrast checker → · Palette generator →

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