#C8A7FC#C8A7FC

#C8A7FC is a light, vivid violet. Relative luminance 0.469; OKLCH L 78.8% C 0.123 H 301.5°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#C8A7FC
RGBrgb(200, 167, 252)
HSLhsl(263, 93%, 82%)
HSVhsv(263, 34%, 99%)
CMYKcmyk(20.6%, 33.7%, 0%, 1.2%)
CIE-LABlab(74.15, 28.58, -37.81)
CIE-LCHlch(74.15, 47.40, 307.08°)
OKLaboklab(78.85% 0.0641 -0.1046)
OKLCHoklch(78.85% 0.123 301.5)
XYZxyz(55.2051, 46.9450, 98.2295)
Luminance0.4694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7FC #DBFCA7
analogous
#A7B1FC #C8A7FC #F3A7FC
triadic
#C8A7FC #FCC8A7 #A7FCC8
tetradic
#C8A7FC #FCA7B1 #DBFCA7 #A7FCF3
square
#C8A7FC #FCA7B1 #DBFCA7 #A7FCF3
split-complementary
#C8A7FC #FCF3A7 #B1FCA7
monochromatic
#7E31F8 #A36CFA #C8A7FC #EDE1FE #EDE1FE

Accessibility & contrast

On white

2.02
#C8A7FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#C8A7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7FC
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7FC#FFFFFF#000000##000000
##C8A7FC1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B6FF
Deuteranopia (green-blind)
#9AB6FA
Tritanopia (blue-blind)
#BFB4C6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8a7fc;
/* rgb */ color: rgb(200, 167, 252);
/* oklch */ color: oklch(78.8% 0.123 301.5);
Tailwind
colors: {
  custom: {
    50: '#dac1fd',
    500: '#c8a7fc',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7fc;
$custom-light: #dac1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7fc",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 263.294,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.78845,
    "c": 0.12267,
    "h": 301.5
  },
  "luminance": 0.46945
}

Semantic roles & 50–950 ramp

primary
#C8A7FC
secondary
#E9F6D5
accent
#E6008C
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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