#C8A7ED#C8A7ED

#C8A7ED is a light, moderate violet. Relative luminance 0.460; OKLCH L 78.2% C 0.103 H 305.7°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#C8A7ED
RGBrgb(200, 167, 237)
HSLhsl(268, 66%, 79%)
HSVhsv(268, 30%, 93%)
CMYKcmyk(15.6%, 29.5%, 0%, 7.1%)
CIE-LABlab(73.57, 25.28, -30.59)
CIE-LCHlch(73.57, 39.69, 309.57°)
OKLaboklab(78.2% 0.0603 -0.084)
OKLCHoklch(78.2% 0.103 305.7)
XYZxyz(52.9212, 46.0315, 86.2013)
Luminance0.4603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7ED #CCEDA7
analogous
#A7A9ED #C8A7ED #EBA7ED
triadic
#C8A7ED #EDC8A7 #A7EDC8
tetradic
#C8A7ED #EDA7A9 #CCEDA7 #A7EDEB
square
#C8A7ED #EDA7A9 #CCEDA7 #A7EDEB
split-complementary
#C8A7ED #EDEBA7 #A9EDA7
monochromatic
#8841D8 #A874E3 #C8A7ED #E8DAF7 #EFE6FA

Accessibility & contrast

On white

2.06
#C8A7ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#C8A7ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7ED
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7ED#FFFFFF#000000##000000
##C8A7ED1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB4F0
Deuteranopia (green-blind)
#A0B5EB
Tritanopia (blue-blind)
#C3B1C0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8a7ed;
/* rgb */ color: rgb(200, 167, 237);
/* oklch */ color: oklch(78.2% 0.103 305.7);
Tailwind
colors: {
  custom: {
    50: '#d9c1f3',
    500: '#c8a7ed',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7ed;
$custom-light: #d9c1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7ed",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 237
  },
  "hsl": {
    "h": 268.286,
    "s": 66.038,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78201,
    "c": 0.10342,
    "h": 305.7
  },
  "luminance": 0.46031
}

Semantic roles & 50–950 ramp

primary
#C8A7ED
secondary
#E6F1DA
accent
#CE1878
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #C8A7ED

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

Preview Lab → · Contrast checker → · Palette generator →

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