#C8A7FD#C8A7FD

#C8A7FD is a light, vivid violet. Relative luminance 0.470; OKLCH L 78.9% C 0.124 H 301.3°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C8A7FD
RGBrgb(200, 167, 253)
HSLhsl(263, 96%, 82%)
HSVhsv(263, 34%, 99%)
CMYKcmyk(20.9%, 34%, 0%, 0.8%)
CIE-LABlab(74.20, 28.80, -38.29)
CIE-LCHlch(74.20, 47.91, 306.95°)
OKLaboklab(78.89% 0.0643 -0.106)
OKLCHoklch(78.89% 0.124 301.3)
XYZxyz(55.3640, 47.0086, 99.0663)
Luminance0.4701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7FD #DCFDA7
analogous
#A7B1FD #C8A7FD #F3A7FD
triadic
#C8A7FD #FDC8A7 #A7FDC8
tetradic
#C8A7FD #FDA7B1 #DCFDA7 #A7FDF3
square
#C8A7FD #FDA7B1 #DCFDA7 #A7FDF3
split-complementary
#C8A7FD #FDF3A7 #B1FDA7
monochromatic
#7D2FFA #A36BFC #C8A7FD #ECE1FE #ECE1FE

Accessibility & contrast

On white

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

On black

10.40
#C8A7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7FD
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7FD#FFFFFF#000000##000000
##C8A7FD1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#99B6FB
Tritanopia (blue-blind)
#BFB5C7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8a7fd;
/* rgb */ color: rgb(200, 167, 253);
/* oklch */ color: oklch(78.9% 0.124 301.3);
Tailwind
colors: {
  custom: {
    50: '#dac1fe',
    500: '#c8a7fd',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7fd;
$custom-light: #dac1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7fd",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 263.023,
    "s": 95.556,
    "l": 82.353
  },
  "oklch": {
    "l": 0.78889,
    "c": 0.12396,
    "h": 301.3
  },
  "luminance": 0.47009
}

Semantic roles & 50–950 ramp

primary
#C8A7FD
secondary
#E9F7D4
accent
#E6008D
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8A7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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