#C7A4E9#C7A4E9

#C7A4E9 is a light, moderate violet. Relative luminance 0.446; OKLCH L 77.4% C 0.103 H 307.3°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#C7A4E9
RGBrgb(199, 164, 233)
HSLhsl(270, 61%, 78%)
HSVhsv(270, 30%, 91%)
CMYKcmyk(14.6%, 29.6%, 0%, 8.6%)
CIE-LABlab(72.61, 25.76, -29.89)
CIE-LCHlch(72.61, 39.46, 310.76°)
OKLaboklab(77.4% 0.0625 -0.082)
OKLCHoklch(77.4% 0.103 307.3)
XYZxyz(51.5339, 44.5766, 82.9643)
Luminance0.4458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A4E9 #C6E9A4
analogous
#A4A4E9 #C7A4E9 #E9A4E8
triadic
#C7A4E9 #E9C7A4 #A4E9C7
tetradic
#C7A4E9 #E9A4A4 #C6E9A4 #A4E8E9
square
#C7A4E9 #E9A4A4 #C6E9A4 #A4E8E9
split-complementary
#C7A4E9 #E8E9A4 #A4E9A4
monochromatic
#8A41D1 #A973DD #C7A4E9 #E5D5F5 #F0E6F9

Accessibility & contrast

On white

2.12
#C7A4E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#C7A4E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A4E9
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A4E9#FFFFFF#000000##000000
##C7A4E91.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B1EC
Deuteranopia (green-blind)
#9EB3E7
Tritanopia (blue-blind)
#C3AEBD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7a4e9;
/* rgb */ color: rgb(199, 164, 233);
/* oklch */ color: oklch(77.4% 0.103 307.3);
Tailwind
colors: {
  custom: {
    50: '#d8bff0',
    500: '#c7a4e9',
    950: '#000000',
  },
}
SCSS
$custom: #c7a4e9;
$custom-light: #d8bff0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a4e9",
  "rgb": {
    "r": 199,
    "g": 164,
    "b": 233
  },
  "hsl": {
    "h": 270.435,
    "s": 61.062,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77399,
    "c": 0.10308,
    "h": 307.3
  },
  "luminance": 0.44576
}

Semantic roles & 50–950 ramp

primary
#C7A4E9
secondary
#E5F0DB
accent
#C91D72
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C7A4E9

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

Preview Lab → · Contrast checker → · Palette generator →

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