#C8A7E1#C8A7E1

#C8A7E1 is a light, moderate violet. Relative luminance 0.454; OKLCH L 77.7% C 0.088 H 310.2°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#C8A7E1
RGBrgb(200, 167, 225)
HSLhsl(274, 49%, 77%)
HSVhsv(274, 26%, 88%)
CMYKcmyk(11.1%, 25.8%, 0%, 11.8%)
CIE-LABlab(73.12, 22.75, -24.74)
CIE-LCHlch(73.12, 33.60, 312.60°)
OKLaboklab(77.72% 0.057 -0.0674)
OKLCHoklch(77.72% 0.088 310.2)
XYZxyz(51.2264, 45.3535, 77.2750)
Luminance0.4535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7E1 #C0E1A7
analogous
#ABA7E1 #C8A7E1 #E1A7DD
triadic
#C8A7E1 #E1C8A7 #A7E1C8
tetradic
#C8A7E1 #E1ABA7 #C0E1A7 #A7DDE1
square
#C8A7E1 #E1ABA7 #C0E1A7 #A7DDE1
split-complementary
#C8A7E1 #DDE1A7 #A7E1AB
monochromatic
#8F4CC2 #AB79D1 #C8A7E1 #E5D5F1 #F1E8F7

Accessibility & contrast

On white

2.09
#C8A7E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#C8A7E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7E1
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7E1#FFFFFF#000000##000000
##C8A7E11.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB2E3
Deuteranopia (green-blind)
#A4B4DF
Tritanopia (blue-blind)
#C5AEBB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a7e1;
/* rgb */ color: rgb(200, 167, 225);
/* oklch */ color: oklch(77.7% 0.088 310.2);
Tailwind
colors: {
  custom: {
    50: '#d9c1ea',
    500: '#c8a7e1',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7e1;
$custom-light: #d9c1ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7e1",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 225
  },
  "hsl": {
    "h": 274.138,
    "s": 49.153,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77716,
    "c": 0.08829,
    "h": 310.2
  },
  "luminance": 0.45353
}

Semantic roles & 50–950 ramp

primary
#C8A7E1
secondary
#E4EEDD
accent
#BC2969
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A7E1

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

Preview Lab → · Contrast checker → · Palette generator →

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