#C8A7F9#C8A7F9

#C8A7F9 is a light, moderate violet. Relative luminance 0.468; OKLCH L 78.7% C 0.119 H 302.2°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#C8A7F9
RGBrgb(200, 167, 249)
HSLhsl(264, 87%, 82%)
HSVhsv(264, 33%, 98%)
CMYKcmyk(19.7%, 32.9%, 0%, 2.4%)
CIE-LABlab(74.03, 27.91, -36.38)
CIE-LCHlch(74.03, 45.85, 307.49°)
OKLaboklab(78.71% 0.0634 -0.1005)
OKLCHoklch(78.71% 0.119 302.2)
XYZxyz(54.7334, 46.7563, 95.7455)
Luminance0.4676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7F9 #D8F9A7
analogous
#A7AFF9 #C8A7F9 #F1A7F9
triadic
#C8A7F9 #F9C8A7 #A7F9C8
tetradic
#C8A7F9 #F9A7AF #D8F9A7 #A7F9F1
square
#C8A7F9 #F9A7AF #D8F9A7 #A7F9F1
split-complementary
#C8A7F9 #F9F1A7 #AFF9A7
monochromatic
#8034F1 #A46EF5 #C8A7F9 #ECE0FD #EDE2FD

Accessibility & contrast

On white

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

On black

10.35
#C8A7F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7F9
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7F9#FFFFFF#000000##000000
##C8A7F91.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8a7f9;
/* rgb */ color: rgb(200, 167, 249);
/* oklch */ color: oklch(78.7% 0.119 302.2);
Tailwind
colors: {
  custom: {
    50: '#dac1fb',
    500: '#c8a7f9',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7f9;
$custom-light: #dac1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7f9",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 249
  },
  "hsl": {
    "h": 264.146,
    "s": 87.234,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78713,
    "c": 0.1188,
    "h": 302.2
  },
  "luminance": 0.46756
}

Semantic roles & 50–950 ramp

primary
#C8A7F9
secondary
#E9F5D6
accent
#E40289
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A7F9

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

Preview Lab → · Contrast checker → · Palette generator →

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