#C8A2E7#C8A2E7

#C8A2E7 is a light, moderate violet. Relative luminance 0.439; OKLCH L 77.0% C 0.104 H 309.2°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C8A2E7
RGBrgb(200, 162, 231)
HSLhsl(273, 59%, 77%)
HSVhsv(273, 30%, 91%)
CMYKcmyk(13.4%, 29.9%, 0%, 9.4%)
CIE-LABlab(72.15, 26.75, -29.50)
CIE-LCHlch(72.15, 39.82, 312.20°)
OKLaboklab(77.05% 0.0659 -0.0809)
OKLCHoklch(77.05% 0.104 309.2)
XYZxyz(51.1610, 43.8900, 81.3622)
Luminance0.4389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2E7 #C1E7A2
analogous
#A6A2E7 #C8A2E7 #E7A2E4
triadic
#C8A2E7 #E7C8A2 #A2E7C8
tetradic
#C8A2E7 #E7A6A2 #C1E7A2 #A2E4E7
square
#C8A2E7 #E7A6A2 #C1E7A2 #A2E4E7
split-complementary
#C8A2E7 #E4E7A2 #A2E7A6
monochromatic
#8E41CE #AB71DA #C8A2E7 #E5D3F4 #F1E7F9

Accessibility & contrast

On white

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

On black

9.78
#C8A2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2E7
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2E7#FFFFFF#000000##000000
##C8A2E71.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AFEA
Deuteranopia (green-blind)
#9EB2E5
Tritanopia (blue-blind)
#C4ABBB
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a2e7;
/* rgb */ color: rgb(200, 162, 231);
/* oklch */ color: oklch(77.0% 0.104 309.2);
Tailwind
colors: {
  custom: {
    50: '#d9beee',
    500: '#c8a2e7',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2e7;
$custom-light: #d9beee;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2e7",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 273.043,
    "s": 58.974,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77046,
    "c": 0.10433,
    "h": 309.2
  },
  "luminance": 0.4389
}

Semantic roles & 50–950 ramp

primary
#C8A2E7
secondary
#E4F0DB
accent
#C71F6A
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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