#C8A5FC#C8A5FC

#C8A5FC is a light, vivid violet. Relative luminance 0.462; OKLCH L 78.5% C 0.126 H 302.1°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#C8A5FC
RGBrgb(200, 165, 252)
HSLhsl(264, 94%, 82%)
HSVhsv(264, 35%, 99%)
CMYKcmyk(20.6%, 34.5%, 0%, 1.2%)
CIE-LABlab(73.69, 29.68, -38.54)
CIE-LCHlch(73.69, 48.64, 307.60°)
OKLaboklab(78.49% 0.0669 -0.1067)
OKLCHoklch(78.49% 0.126 302.1)
XYZxyz(54.8415, 46.2179, 98.1083)
Luminance0.4622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5FC #D9FCA5
analogous
#A5AEFC #C8A5FC #F4A5FC
triadic
#C8A5FC #FCC8A5 #A5FCC8
tetradic
#C8A5FC #FCA5AE #D9FCA5 #A5FCF4
square
#C8A5FC #FCA5AE #D9FCA5 #A5FCF4
split-complementary
#C8A5FC #FCF4A5 #AEFCA5
monochromatic
#802FF8 #A46AFA #C8A5FC #ECE0FE #EDE1FE

Accessibility & contrast

On white

2.05
#C8A5FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#C8A5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5FC
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5FC#FFFFFF#000000##000000
##C8A5FC1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FF
Deuteranopia (green-blind)
#98B5FA
Tritanopia (blue-blind)
#BFB3C5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a5fc;
/* rgb */ color: rgb(200, 165, 252);
/* oklch */ color: oklch(78.5% 0.126 302.1);
Tailwind
colors: {
  custom: {
    50: '#dac0fd',
    500: '#c8a5fc',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5fc;
$custom-light: #dac0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5fc",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 264.138,
    "s": 93.548,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78488,
    "c": 0.1259,
    "h": 302.1
  },
  "luminance": 0.46218
}

Semantic roles & 50–950 ramp

primary
#C8A5FC
secondary
#E9F6D5
accent
#E60089
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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