#C8A2FD#C8A2FD

#C8A2FD is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.0% C 0.132 H 302.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#C8A2FD
RGBrgb(200, 162, 253)
HSLhsl(265, 96%, 81%)
HSVhsv(265, 36%, 99%)
CMYKcmyk(20.9%, 36%, 0%, 0.8%)
CIE-LABlab(73.03, 31.55, -40.10)
CIE-LCHlch(73.03, 51.02, 308.19°)
OKLaboklab(78% 0.0712 -0.1111)
OKLCHoklch(78% 0.132 302.7)
XYZxyz(54.4656, 45.2119, 98.7668)
Luminance0.4521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2FD #D7FDA2
analogous
#A2AAFD #C8A2FD #F6A2FD
triadic
#C8A2FD #FDC8A2 #A2FDC8
tetradic
#C8A2FD #FDA2AA #D7FDA2 #A2FDF6
square
#C8A2FD #FDA2AA #D7FDA2 #A2FDF6
split-complementary
#C8A2FD #FDF6A2 #AAFDA2
monochromatic
#812AFA #A566FC #C8A2FD #EBDEFE #EDE1FE

Accessibility & contrast

On white

2.09
#C8A2FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#C8A2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2FD
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2FD#FFFFFF#000000##000000
##C8A2FD1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#95B3FB
Tritanopia (blue-blind)
#BFB0C4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a2fd;
/* rgb */ color: rgb(200, 162, 253);
/* oklch */ color: oklch(78.0% 0.132 302.7);
Tailwind
colors: {
  custom: {
    50: '#dabefe',
    500: '#c8a2fd',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2fd;
$custom-light: #dabefe;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2fd",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 265.055,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.78002,
    "c": 0.13203,
    "h": 302.7
  },
  "luminance": 0.45212
}

Semantic roles & 50–950 ramp

primary
#C8A2FD
secondary
#E8F7D4
accent
#E60086
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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