#C8A0FE#C8A0FE

#C8A0FE is a light, vivid violet. Relative luminance 0.446; OKLCH L 77.7% C 0.137 H 302.9°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#C8A0FE
RGBrgb(200, 160, 254)
HSLhsl(266, 98%, 81%)
HSVhsv(266, 37%, 100%)
CMYKcmyk(21.3%, 37%, 0%, 0.4%)
CIE-LABlab(72.61, 32.87, -41.30)
CIE-LCHlch(72.61, 52.78, 308.52°)
OKLaboklab(77.7% 0.0742 -0.1146)
OKLCHoklch(77.7% 0.137 302.9)
XYZxyz(54.2758, 44.5768, 99.4915)
Luminance0.4458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A0FE #D6FEA0
analogous
#A0A7FE #C8A0FE #F7A0FE
triadic
#C8A0FE #FEC8A0 #A0FEC8
tetradic
#C8A0FE #FEA0A7 #D6FEA0 #A0FEF7
square
#C8A0FE #FEA0A7 #D6FEA0 #A0FEF7
split-complementary
#C8A0FE #FEF7A0 #A7FEA0
monochromatic
#8227FD #A563FD #C8A0FE #EBDDFF #EDE1FF

Accessibility & contrast

On white

2.12
#C8A0FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#C8A0FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A0FE
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A0FE#FFFFFF#000000##000000
##C8A0FE1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#92B2FB
Tritanopia (blue-blind)
#BFAFC3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c8a0fe;
/* rgb */ color: rgb(200, 160, 254);
/* oklch */ color: oklch(77.7% 0.137 302.9);
Tailwind
colors: {
  custom: {
    50: '#dabcff',
    500: '#c8a0fe',
    950: '#000000',
  },
}
SCSS
$custom: #c8a0fe;
$custom-light: #dabcff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a0fe",
  "rgb": {
    "r": 200,
    "g": 160,
    "b": 254
  },
  "hsl": {
    "h": 265.532,
    "s": 97.917,
    "l": 81.176
  },
  "oklch": {
    "l": 0.77698,
    "c": 0.13652,
    "h": 302.9
  },
  "luminance": 0.44577
}

Semantic roles & 50–950 ramp

primary
#C8A0FE
secondary
#E8F7D4
accent
#E60084
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A0FE

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

Preview Lab → · Contrast checker → · Palette generator →

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