#C8A2FE#C8A2FE

#C8A2FE is a light, vivid violet. Relative luminance 0.453; OKLCH L 78.0% C 0.133 H 302.4°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#C8A2FE
RGBrgb(200, 162, 254)
HSLhsl(265, 98%, 82%)
HSVhsv(265, 36%, 100%)
CMYKcmyk(21.3%, 36.2%, 0%, 0.4%)
CIE-LABlab(73.07, 31.77, -40.58)
CIE-LCHlch(73.07, 51.54, 308.06°)
OKLaboklab(78.05% 0.0715 -0.1125)
OKLCHoklch(78.05% 0.133 302.4)
XYZxyz(54.6253, 45.2758, 99.6080)
Luminance0.4528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A2FE #D8FEA2
analogous
#A2AAFE #C8A2FE #F6A2FE
triadic
#C8A2FE #FEC8A2 #A2FEC8
tetradic
#C8A2FE #FEA2AA #D8FEA2 #A2FEF6
square
#C8A2FE #FEA2AA #D8FEA2 #A2FEF6
split-complementary
#C8A2FE #FEF6A2 #AAFEA2
monochromatic
#8029FD #A465FD #C8A2FE #ECDFFF #EDE1FF

Accessibility & contrast

On white

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

On black

10.06
#C8A2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A2FE
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A2FE#FFFFFF#000000##000000
##C8A2FE1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#BFB1C4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a2fe;
/* rgb */ color: rgb(200, 162, 254);
/* oklch */ color: oklch(78.0% 0.133 302.4);
Tailwind
colors: {
  custom: {
    50: '#dabeff',
    500: '#c8a2fe',
    950: '#000000',
  },
}
SCSS
$custom: #c8a2fe;
$custom-light: #dabeff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a2fe",
  "rgb": {
    "r": 200,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 264.783,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78048,
    "c": 0.1333,
    "h": 302.4
  },
  "luminance": 0.45276
}

Semantic roles & 50–950 ramp

primary
#C8A2FE
secondary
#E9F7D4
accent
#E60087
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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