#C8A2ED#C8A2ED

#C8A2ED is a light, moderate violet. Relative luminance 0.442; OKLCH L 77.3% C 0.112 H 307.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#C8A2ED
RGBrgb(200, 162, 237)
HSLhsl(270, 68%, 78%)
HSVhsv(270, 32%, 93%)
CMYKcmyk(15.6%, 31.6%, 0%, 7.1%)
CIE-LABlab(72.39, 28.03, -32.42)
CIE-LCHlch(72.39, 42.85, 310.85°)
OKLaboklab(77.3% 0.0675 -0.0891)
OKLCHoklch(77.3% 0.112 307.1)
XYZxyz(52.0229, 44.2348, 85.9019)
Luminance0.4423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2ED #C7EDA2
analogous
#A2A2ED #C8A2ED #EDA2EC
triadic
#C8A2ED #EDC8A2 #A2EDC8
tetradic
#C8A2ED #EDA2A2 #C7EDA2 #A2ECED
square
#C8A2ED #EDA2A2 #C7EDA2 #A2ECED
split-complementary
#C8A2ED #ECEDA2 #A2EDA2
monochromatic
#8B3BD9 #AA6FE3 #C8A2ED #E6D5F7 #F0E5FA

Accessibility & contrast

On white

2.13
#C8A2ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#C8A2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2ED
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2ED#FFFFFF#000000##000000
##C8A2ED1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0F0
Deuteranopia (green-blind)
#9BB2EB
Tritanopia (blue-blind)
#C3ADBD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a2ed;
/* rgb */ color: rgb(200, 162, 237);
/* oklch */ color: oklch(77.3% 0.112 307.1);
Tailwind
colors: {
  custom: {
    50: '#d9bef3',
    500: '#c8a2ed',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2ed;
$custom-light: #d9bef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2ed",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 237
  },
  "hsl": {
    "h": 270.4,
    "s": 67.568,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77298,
    "c": 0.11182,
    "h": 307.1
  },
  "luminance": 0.44234
}

Semantic roles & 50–950 ramp

primary
#C8A2ED
secondary
#E5F2D9
accent
#CF1672
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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