#C7A1FA#C7A1FA

#C7A1FA is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.6% C 0.130 H 303.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C7A1FA
RGBrgb(199, 161, 250)
HSLhsl(266, 90%, 81%)
HSVhsv(266, 36%, 98%)
CMYKcmyk(20.4%, 35.6%, 0%, 2%)
CIE-LABlab(72.58, 31.13, -39.18)
CIE-LCHlch(72.58, 50.04, 308.47°)
OKLaboklab(77.6% 0.0709 -0.1085)
OKLCHoklch(77.6% 0.13 303.1)
XYZxyz(53.5498, 44.5340, 96.1988)
Luminance0.4453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A1FA #D4FAA1
analogous
#A1A7FA #C7A1FA #F3A1FA
triadic
#C7A1FA #FAC7A1 #A1FAC7
tetradic
#C7A1FA #FAA1A7 #D4FAA1 #A1FAF3
square
#C7A1FA #FAA1A7 #D4FAA1 #A1FAF3
split-complementary
#C7A1FA #FAF3A1 #A7FAA1
monochromatic
#822DF4 #A467F7 #C7A1FA #EADBFD #EEE2FD

Accessibility & contrast

On white

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

On black

9.91
#C7A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A1FA
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A1FA#FFFFFF#000000##000000
##C7A1FA1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FD
Deuteranopia (green-blind)
#95B2F8
Tritanopia (blue-blind)
#BFAFC2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c7a1fa;
/* rgb */ color: rgb(199, 161, 250);
/* oklch */ color: oklch(77.6% 0.130 303.1);
Tailwind
colors: {
  custom: {
    50: '#d9bdfc',
    500: '#c7a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #c7a1fa;
$custom-light: #d9bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a1fa",
  "rgb": {
    "r": 199,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 265.618,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.776,
    "c": 0.12959,
    "h": 303.1
  },
  "luminance": 0.44534
}

Semantic roles & 50–950 ramp

primary
#C7A1FA
secondary
#E8F6D5
accent
#E60084
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C7A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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