#C8A5FE#C8A5FE

#C8A5FE is a light, vivid violet. Relative luminance 0.463; OKLCH L 78.6% C 0.128 H 301.6°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#C8A5FE
RGBrgb(200, 165, 254)
HSLhsl(264, 98%, 82%)
HSVhsv(264, 35%, 100%)
CMYKcmyk(21.3%, 35%, 0%, 0.4%)
CIE-LABlab(73.77, 30.12, -39.49)
CIE-LCHlch(73.77, 49.67, 307.34°)
OKLaboklab(78.58% 0.0673 -0.1094)
OKLCHoklch(78.58% 0.128 301.6)
XYZxyz(55.1601, 46.3453, 99.7863)
Luminance0.4634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5FE #DBFEA5
analogous
#A5AEFE #C8A5FE #F5A5FE
triadic
#C8A5FE #FEC8A5 #A5FEC8
tetradic
#C8A5FE #FEA5AE #DBFEA5 #A5FEF5
square
#C8A5FE #FEA5AE #DBFEA5 #A5FEF5
split-complementary
#C8A5FE #FEF5A5 #AEFEA5
monochromatic
#7E2CFD #A368FD #C8A5FE #EDE1FF #EDE1FF

Accessibility & contrast

On white

2.04
#C8A5FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#C8A5FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5FE
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5FE#FFFFFF#000000##000000
##C8A5FE1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B5FF
Deuteranopia (green-blind)
#97B5FC
Tritanopia (blue-blind)
#BFB3C6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a5fe;
/* rgb */ color: rgb(200, 165, 254);
/* oklch */ color: oklch(78.6% 0.128 301.6);
Tailwind
colors: {
  custom: {
    50: '#dac0ff',
    500: '#c8a5fe',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5fe;
$custom-light: #dac0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5fe",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 263.596,
    "s": 97.802,
    "l": 82.157
  },
  "oklch": {
    "l": 0.78578,
    "c": 0.12846,
    "h": 301.6
  },
  "luminance": 0.46345
}

Semantic roles & 50–950 ramp

primary
#C8A5FE
secondary
#E9F7D4
accent
#E6008B
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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