#C8A7F6#C8A7F6

#C8A7F6 is a light, moderate violet. Relative luminance 0.466; OKLCH L 78.6% C 0.115 H 303.0°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#C8A7F6
RGBrgb(200, 167, 246)
HSLhsl(265, 81%, 81%)
HSVhsv(265, 32%, 96%)
CMYKcmyk(18.7%, 32.1%, 0%, 3.5%)
CIE-LABlab(73.91, 27.24, -34.94)
CIE-LCHlch(73.91, 44.30, 307.94°)
OKLaboklab(78.58% 0.0626 -0.0964)
OKLCHoklch(78.58% 0.115 303)
XYZxyz(54.2693, 46.5707, 93.3009)
Luminance0.4657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7F6 #D5F6A7
analogous
#A7ADF6 #C8A7F6 #EFA7F6
triadic
#C8A7F6 #F6C8A7 #A7F6C8
tetradic
#C8A7F6 #F6A7AD #D5F6A7 #A7F6EF
square
#C8A7F6 #F6A7AD #D5F6A7 #A7F6EF
split-complementary
#C8A7F6 #F6EFA7 #ADF6A7
monochromatic
#8338EB #A56FF0 #C8A7F6 #EBDFFC #EEE3FC

Accessibility & contrast

On white

2.04
#C8A7F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#C8A7F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7F6
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7F6#FFFFFF#000000##000000
##C8A7F61.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B5F9
Deuteranopia (green-blind)
#9CB6F4
Tritanopia (blue-blind)
#C1B3C4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8a7f6;
/* rgb */ color: rgb(200, 167, 246);
/* oklch */ color: oklch(78.6% 0.115 303.0);
Tailwind
colors: {
  custom: {
    50: '#d9c1f9',
    500: '#c8a7f6',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7f6;
$custom-light: #d9c1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7f6",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 246
  },
  "hsl": {
    "h": 265.063,
    "s": 81.443,
    "l": 80.98
  },
  "oklch": {
    "l": 0.78582,
    "c": 0.11495,
    "h": 303
  },
  "luminance": 0.46571
}

Semantic roles & 50–950 ramp

primary
#C8A7F6
secondary
#E8F4D7
accent
#DE0884
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A7F6

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

Preview Lab → · Contrast checker → · Palette generator →

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