#C7A3E9#C7A3E9

#C7A3E9 is a light, moderate violet. Relative luminance 0.442; OKLCH L 77.2% C 0.105 H 307.6°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C7A3E9
RGBrgb(199, 163, 233)
HSLhsl(271, 61%, 78%)
HSVhsv(271, 30%, 91%)
CMYKcmyk(14.6%, 30%, 0%, 8.6%)
CIE-LABlab(72.38, 26.31, -30.26)
CIE-LCHlch(72.38, 40.10, 311.01°)
OKLaboklab(77.22% 0.0639 -0.083)
OKLCHoklch(77.22% 0.105 307.6)
XYZxyz(51.3556, 44.2201, 82.9048)
Luminance0.4422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A3E9 #C5E9A3
analogous
#A4A3E9 #C7A3E9 #E9A3E8
triadic
#C7A3E9 #E9C7A3 #A3E9C7
tetradic
#C7A3E9 #E9A4A3 #C5E9A3 #A3E8E9
square
#C7A3E9 #E9A4A3 #C5E9A3 #A3E8E9
split-complementary
#C7A3E9 #E8E9A3 #A3E9A4
monochromatic
#8B40D1 #A972DD #C7A3E9 #E5D4F5 #F0E6F9

Accessibility & contrast

On white

2.13
#C7A3E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C7A3E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A3E9
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A3E9#FFFFFF#000000##000000
##C7A3E91.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0EC
Deuteranopia (green-blind)
#9DB2E7
Tritanopia (blue-blind)
#C3ADBC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c7a3e9;
/* rgb */ color: rgb(199, 163, 233);
/* oklch */ color: oklch(77.2% 0.105 307.6);
Tailwind
colors: {
  custom: {
    50: '#d8bef0',
    500: '#c7a3e9',
    950: '#000000',
  },
}
SCSS
$custom: #c7a3e9;
$custom-light: #d8bef0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a3e9",
  "rgb": {
    "r": 199,
    "g": 163,
    "b": 233
  },
  "hsl": {
    "h": 270.857,
    "s": 61.404,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77218,
    "c": 0.10477,
    "h": 307.6
  },
  "luminance": 0.4422
}

Semantic roles & 50–950 ramp

primary
#C7A3E9
secondary
#E5F0DB
accent
#C91C70
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C7A3E9

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

Preview Lab → · Contrast checker → · Palette generator →

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