#C7A4FA#C7A4FA

#C7A4FA is a light, vivid violet. Relative luminance 0.456; OKLCH L 78.1% C 0.125 H 302.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#C7A4FA
RGBrgb(199, 164, 250)
HSLhsl(264, 90%, 81%)
HSVhsv(264, 34%, 98%)
CMYKcmyk(20.4%, 34.4%, 0%, 2%)
CIE-LABlab(73.28, 29.48, -38.09)
CIE-LCHlch(73.28, 48.17, 307.74°)
OKLaboklab(78.13% 0.0667 -0.1054)
OKLCHoklch(78.13% 0.125 302.3)
XYZxyz(54.0803, 45.5952, 96.3756)
Luminance0.4560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A4FA #D7FAA4
analogous
#A4ACFA #C7A4FA #F2A4FA
triadic
#C7A4FA #FAC7A4 #A4FAC7
tetradic
#C7A4FA #FAA4AC #D7FAA4 #A4FAF2
square
#C7A4FA #FAA4AC #D7FAA4 #A4FAF2
split-complementary
#C7A4FA #FAF2A4 #ACFAA4
monochromatic
#8030F4 #A36AF7 #C7A4FA #EBDEFD #EDE2FD

Accessibility & contrast

On white

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

On black

10.12
#C7A4FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A4FA
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A4FA#FFFFFF#000000##000000
##C7A4FA1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B3FD
Deuteranopia (green-blind)
#97B4F8
Tritanopia (blue-blind)
#BEB1C4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c7a4fa;
/* rgb */ color: rgb(199, 164, 250);
/* oklch */ color: oklch(78.1% 0.125 302.3);
Tailwind
colors: {
  custom: {
    50: '#d9bffc',
    500: '#c7a4fa',
    950: '#000000',
  },
}
SCSS
$custom: #c7a4fa;
$custom-light: #d9bffc;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a4fa",
  "rgb": {
    "r": 199,
    "g": 164,
    "b": 250
  },
  "hsl": {
    "h": 264.419,
    "s": 89.583,
    "l": 81.176
  },
  "oklch": {
    "l": 0.78131,
    "c": 0.12472,
    "h": 302.3
  },
  "luminance": 0.45595
}

Semantic roles & 50–950 ramp

primary
#C7A4FA
secondary
#E8F5D6
accent
#E60088
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C7A4FA

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

Preview Lab → · Contrast checker → · Palette generator →

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