#C7A3EA#C7A3EA

#C7A3EA is a light, moderate violet. Relative luminance 0.443; OKLCH L 77.3% C 0.106 H 307.2°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#C7A3EA
RGBrgb(199, 163, 234)
HSLhsl(270, 63%, 78%)
HSVhsv(270, 30%, 92%)
CMYKcmyk(15%, 30.3%, 0%, 8.2%)
CIE-LABlab(72.41, 26.53, -30.74)
CIE-LCHlch(72.41, 40.61, 310.79°)
OKLaboklab(77.26% 0.0642 -0.0844)
OKLCHoklch(77.26% 0.106 307.2)
XYZxyz(51.4989, 44.2774, 83.6593)
Luminance0.4428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A3EA #C6EAA3
analogous
#A3A3EA #C7A3EA #EAA3E9
triadic
#C7A3EA #EAC7A3 #A3EAC7
tetradic
#C7A3EA #EAA3A3 #C6EAA3 #A3E9EA
square
#C7A3EA #EAA3A3 #C6EAA3 #A3E9EA
split-complementary
#C7A3EA #E9EAA3 #A3EAA3
monochromatic
#8A3FD3 #A971DF #C7A3EA #E5D5F5 #F0E6F9

Accessibility & contrast

On white

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

On black

9.86
#C7A3EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A3EA
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A3EA#FFFFFF#000000##000000
##C7A3EA1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B0ED
Deuteranopia (green-blind)
#9DB2E8
Tritanopia (blue-blind)
#C2ADBD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7a3ea;
/* rgb */ color: rgb(199, 163, 234);
/* oklch */ color: oklch(77.3% 0.106 307.2);
Tailwind
colors: {
  custom: {
    50: '#d8bef1',
    500: '#c7a3ea',
    950: '#000000',
  },
}
SCSS
$custom: #c7a3ea;
$custom-light: #d8bef1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a3ea",
  "rgb": {
    "r": 199,
    "g": 163,
    "b": 234
  },
  "hsl": {
    "h": 270.423,
    "s": 62.832,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7726,
    "c": 0.10603,
    "h": 307.2
  },
  "luminance": 0.44277
}

Semantic roles & 50–950 ramp

primary
#C7A3EA
secondary
#E5F1DA
accent
#CB1B72
background
#FDFBFE
surface
#FAF7FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C7A3EA

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

Preview Lab → · Contrast checker → · Palette generator →

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