#C8A7FB#C8A7FB

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

Color values

HEX#C8A7FB
RGBrgb(200, 167, 251)
HSLhsl(264, 91%, 82%)
HSVhsv(264, 33%, 98%)
CMYKcmyk(20.3%, 33.5%, 0%, 1.6%)
CIE-LABlab(74.11, 28.35, -37.34)
CIE-LCHlch(74.11, 46.88, 307.21°)
OKLaboklab(78.8% 0.0639 -0.1032)
OKLCHoklch(78.8% 0.121 301.7)
XYZxyz(55.0470, 46.8818, 97.3971)
Luminance0.4688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7FB #DAFBA7
analogous
#A7B0FB #C8A7FB #F2A7FB
triadic
#C8A7FB #FBC8A7 #A7FBC8
tetradic
#C8A7FB #FBA7B0 #DAFBA7 #A7FBF2
square
#C8A7FB #FBA7B0 #DAFBA7 #A7FBF2
split-complementary
#C8A7FB #FBF2A7 #B0FBA7
monochromatic
#7F32F6 #A36CF8 #C8A7FB #EDE2FE #EDE2FE

Accessibility & contrast

On white

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

On black

10.38
#C8A7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7FB
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7FB#FFFFFF#000000##000000
##C8A7FB1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8a7fb;
/* rgb */ color: rgb(200, 167, 251);
/* oklch */ color: oklch(78.8% 0.121 301.7);
Tailwind
colors: {
  custom: {
    50: '#dac1fd',
    500: '#c8a7fb',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7fb;
$custom-light: #dac1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7fb",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 263.571,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.78801,
    "c": 0.12138,
    "h": 301.7
  },
  "luminance": 0.46882
}

Semantic roles & 50–950 ramp

primary
#C8A7FB
secondary
#E9F6D5
accent
#E6008B
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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