#C7A6EA#C7A6EA

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

Color values

HEX#C7A6EA
RGBrgb(199, 166, 234)
HSLhsl(269, 62%, 78%)
HSVhsv(269, 29%, 92%)
CMYKcmyk(15%, 29.1%, 0%, 8.2%)
CIE-LABlab(73.13, 24.88, -29.65)
CIE-LCHlch(73.13, 38.70, 310.00°)
OKLaboklab(77.81% 0.0598 -0.0813)
OKLCHoklch(77.81% 0.101 306.3)
XYZxyz(52.0379, 45.3553, 83.8390)
Luminance0.4536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A6EA #C9EAA6
analogous
#A6A7EA #C7A6EA #E9A6EA
triadic
#C7A6EA #EAC7A6 #A6EAC7
tetradic
#C7A6EA #EAA6A7 #C9EAA6 #A6EAE9
square
#C7A6EA #EAA6A7 #C9EAA6 #A6EAE9
split-complementary
#C7A6EA #EAE9A6 #A7EAA6
monochromatic
#8943D3 #A874DE #C7A6EA #E6D8F6 #EFE6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7A6EA#FFFFFF#000000##000000
##C7A6EA1.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)
#99B2ED
Deuteranopia (green-blind)
#A0B4E8
Tritanopia (blue-blind)
#C2B0BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7a6ea;
/* rgb */ color: rgb(199, 166, 234);
/* oklch */ color: oklch(77.8% 0.101 306.3);
Tailwind
colors: {
  custom: {
    50: '#d8c0f1',
    500: '#c7a6ea',
    950: '#000000',
  },
}
SCSS
$custom: #c7a6ea;
$custom-light: #d8c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a6ea",
  "rgb": {
    "r": 199,
    "g": 166,
    "b": 234
  },
  "hsl": {
    "h": 269.118,
    "s": 61.818,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77805,
    "c": 0.10097,
    "h": 306.3
  },
  "luminance": 0.45355
}

Semantic roles & 50–950 ramp

primary
#C7A6EA
secondary
#E6F1DA
accent
#CA1C75
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C7A6EA

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

Preview Lab → · Contrast checker → · Palette generator →

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