#C8A2EB#C8A2EB

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

Color values

HEX#C8A2EB
RGBrgb(200, 162, 235)
HSLhsl(271, 65%, 78%)
HSVhsv(271, 31%, 92%)
CMYKcmyk(14.9%, 31.1%, 0%, 7.8%)
CIE-LABlab(72.31, 27.60, -31.45)
CIE-LCHlch(72.31, 41.84, 311.27°)
OKLaboklab(77.21% 0.067 -0.0864)
OKLCHoklch(77.21% 0.109 307.8)
XYZxyz(51.7323, 44.1186, 84.3716)
Luminance0.4412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2EB #C5EBA2
analogous
#A3A2EB #C8A2EB #EBA2E9
triadic
#C8A2EB #EBC8A2 #A2EBC8
tetradic
#C8A2EB #EBA3A2 #C5EBA2 #A2E9EB
square
#C8A2EB #EBA3A2 #C5EBA2 #A2E9EB
split-complementary
#C8A2EB #E9EBA2 #A2EBA3
monochromatic
#8C3DD5 #AA70E0 #C8A2EB #E6D4F6 #F0E6FA

Accessibility & contrast

On white

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

On black

9.82
#C8A2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2EB
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2EB#FFFFFF#000000##000000
##C8A2EB1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0EE
Deuteranopia (green-blind)
#9CB2E9
Tritanopia (blue-blind)
#C4ACBC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8a2eb;
/* rgb */ color: rgb(200, 162, 235);
/* oklch */ color: oklch(77.2% 0.109 307.8);
Tailwind
colors: {
  custom: {
    50: '#d9bef1',
    500: '#c8a2eb',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2eb;
$custom-light: #d9bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2eb",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 271.233,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77213,
    "c": 0.10931,
    "h": 307.8
  },
  "luminance": 0.44118
}

Semantic roles & 50–950 ramp

primary
#C8A2EB
secondary
#E5F1DA
accent
#CC196F
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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