#C8A2E8#C8A2E8

#C8A2E8 is a light, moderate violet. Relative luminance 0.439; OKLCH L 77.1% C 0.106 H 308.8°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#C8A2E8
RGBrgb(200, 162, 232)
HSLhsl(273, 60%, 77%)
HSVhsv(273, 30%, 91%)
CMYKcmyk(13.8%, 30.2%, 0%, 9%)
CIE-LABlab(72.19, 26.96, -29.99)
CIE-LCHlch(72.19, 40.32, 311.96°)
OKLaboklab(77.09% 0.0662 -0.0822)
OKLCHoklch(77.09% 0.106 308.8)
XYZxyz(51.3026, 43.9467, 82.1082)
Luminance0.4395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2E8 #C2E8A2
analogous
#A5A2E8 #C8A2E8 #E8A2E5
triadic
#C8A2E8 #E8C8A2 #A2E8C8
tetradic
#C8A2E8 #E8A5A2 #C2E8A2 #A2E5E8
square
#C8A2E8 #E8A5A2 #C2E8A2 #A2E5E8
split-complementary
#C8A2E8 #E5E8A2 #A2E8A5
monochromatic
#8E40D0 #AB71DC #C8A2E8 #E5D3F4 #F0E6F9

Accessibility & contrast

On white

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

On black

9.79
#C8A2E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2E8
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2E8#FFFFFF#000000##000000
##C8A2E81.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AFEB
Deuteranopia (green-blind)
#9DB2E6
Tritanopia (blue-blind)
#C4ACBB
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a2e8;
/* rgb */ color: rgb(200, 162, 232);
/* oklch */ color: oklch(77.1% 0.106 308.8);
Tailwind
colors: {
  custom: {
    50: '#d9beef',
    500: '#c8a2e8',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2e8;
$custom-light: #d9beef;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2e8",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 232
  },
  "hsl": {
    "h": 272.571,
    "s": 60.345,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77087,
    "c": 0.10557,
    "h": 308.8
  },
  "luminance": 0.43946
}

Semantic roles & 50–950 ramp

primary
#C8A2E8
secondary
#E5F0DB
accent
#C81D6B
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #C8A2E8

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

Preview Lab → · Contrast checker → · Palette generator →

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