#C8A7E2#C8A7E2

#C8A7E2 is a light, moderate violet. Relative luminance 0.454; OKLCH L 77.8% C 0.090 H 309.8°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#C8A7E2
RGBrgb(200, 167, 226)
HSLhsl(274, 50%, 77%)
HSVhsv(274, 26%, 89%)
CMYKcmyk(11.5%, 26.1%, 0%, 11.4%)
CIE-LABlab(73.16, 22.95, -25.23)
CIE-LCHlch(73.16, 34.11, 312.30°)
OKLaboklab(77.76% 0.0573 -0.0688)
OKLCHoklch(77.76% 0.09 309.8)
XYZxyz(51.3632, 45.4082, 77.9956)
Luminance0.4541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A7E2 #C1E2A7
analogous
#ABA7E2 #C8A7E2 #E2A7DF
triadic
#C8A7E2 #E2C8A7 #A7E2C8
tetradic
#C8A7E2 #E2ABA7 #C1E2A7 #A7DFE2
square
#C8A7E2 #E2ABA7 #C1E2A7 #A7DFE2
split-complementary
#C8A7E2 #DFE2A7 #A7E2AB
monochromatic
#8E4BC4 #AB79D3 #C8A7E2 #E5D5F1 #F1E8F7

Accessibility & contrast

On white

2.08
#C8A7E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#C8A7E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A7E2
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A7E2#FFFFFF#000000##000000
##C8A7E21.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB2E4
Deuteranopia (green-blind)
#A4B4E0
Tritanopia (blue-blind)
#C5AFBC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a7e2;
/* rgb */ color: rgb(200, 167, 226);
/* oklch */ color: oklch(77.8% 0.090 309.8);
Tailwind
colors: {
  custom: {
    50: '#d9c1eb',
    500: '#c8a7e2',
    950: '#000000',
  },
}
SCSS
$custom: #c8a7e2;
$custom-light: #d9c1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a7e2",
  "rgb": {
    "r": 200,
    "g": 167,
    "b": 226
  },
  "hsl": {
    "h": 273.559,
    "s": 50.427,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77755,
    "c": 0.08954,
    "h": 309.8
  },
  "luminance": 0.45408
}

Semantic roles & 50–950 ramp

primary
#C8A7E2
secondary
#E4EFDC
accent
#BE286A
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C8A7E2

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

Preview Lab → · Contrast checker → · Palette generator →

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