#C7A2FA#C7A2FA

#C7A2FA is a light, vivid violet. Relative luminance 0.449; OKLCH L 77.8% C 0.128 H 302.9°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#C7A2FA
RGBrgb(199, 162, 250)
HSLhsl(265, 90%, 81%)
HSVhsv(265, 35%, 98%)
CMYKcmyk(20.4%, 35.2%, 0%, 2%)
CIE-LABlab(72.82, 30.58, -38.82)
CIE-LCHlch(72.82, 49.42, 308.23°)
OKLaboklab(77.78% 0.0695 -0.1075)
OKLCHoklch(77.78% 0.128 302.9)
XYZxyz(53.7252, 44.8849, 96.2572)
Luminance0.4489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A2FA #D5FAA2
analogous
#A2A9FA #C7A2FA #F3A2FA
triadic
#C7A2FA #FAC7A2 #A2FAC7
tetradic
#C7A2FA #FAA2A9 #D5FAA2 #A2FAF3
square
#C7A2FA #FAA2A9 #D5FAA2 #A2FAF3
split-complementary
#C7A2FA #FAF3A2 #A9FAA2
monochromatic
#812EF4 #A468F7 #C7A2FA #EADCFD #EEE2FD

Accessibility & contrast

On white

2.10
#C7A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#C7A2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A2FA
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A2FA#FFFFFF#000000##000000
##C7A2FA1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FD
Deuteranopia (green-blind)
#96B3F8
Tritanopia (blue-blind)
#BFB0C3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c7a2fa;
/* rgb */ color: rgb(199, 162, 250);
/* oklch */ color: oklch(77.8% 0.128 302.9);
Tailwind
colors: {
  custom: {
    50: '#d9befc',
    500: '#c7a2fa',
    950: '#000000',
  },
}
SCSS
$custom: #c7a2fa;
$custom-light: #d9befc;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a2fa",
  "rgb": {
    "r": 199,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 265.227,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77776,
    "c": 0.12797,
    "h": 302.9
  },
  "luminance": 0.44885
}

Semantic roles & 50–950 ramp

primary
#C7A2FA
secondary
#E8F6D5
accent
#E60085
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C7A2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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