#C8A7FA#C8A7FA

#C8A7FA is a light, vivid violet. Relative luminance 0.468; OKLCH L 78.8% C 0.120 H 302.0°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#C8A7FA
RGBrgb(200, 167, 250)
HSLhsl(264, 89%, 82%)
HSVhsv(264, 33%, 98%)
CMYKcmyk(20%, 33.2%, 0%, 2%)
CIE-LABlab(74.07, 28.13, -36.86)
CIE-LCHlch(74.07, 46.36, 307.35°)
OKLaboklab(78.76% 0.0636 -0.1019)
OKLCHoklch(78.76% 0.12 302)
XYZxyz(54.8898, 46.8189, 96.5692)
Luminance0.4682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7FA #D9FAA7
analogous
#A7B0FA #C8A7FA #F1A7FA
triadic
#C8A7FA #FAC8A7 #A7FAC8
tetradic
#C8A7FA #FAA7B0 #D9FAA7 #A7FAF1
square
#C8A7FA #FAA7B0 #D9FAA7 #A7FAF1
split-complementary
#C8A7FA #FAF1A7 #B0FAA7
monochromatic
#8033F3 #A46DF7 #C8A7FA #ECE1FD #EDE2FD

Accessibility & contrast

On white

2.03
#C8A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#C8A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7FA
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7FA#FFFFFF#000000##000000
##C8A7FA1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B5FD
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#C0B4C5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8a7fa;
/* rgb */ color: rgb(200, 167, 250);
/* oklch */ color: oklch(78.8% 0.120 302.0);
Tailwind
colors: {
  custom: {
    50: '#dac1fc',
    500: '#c8a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7fa;
$custom-light: #dac1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7fa",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 263.855,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78756,
    "c": 0.12009,
    "h": 302
  },
  "luminance": 0.46819
}

Semantic roles & 50–950 ramp

primary
#C8A7FA
secondary
#E9F5D6
accent
#E6008A
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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