#A97FF2

A color in the Violet family

#a97ff2 is a color in the Violet family: RGB(169, 127, 242), HSL(262°, 82%, 72%), CMYK(30%, 48%, 0%, 5%). Closest named color: mediumpurple. Contrast is 3:1 on white and 7:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a97ff2
RGBrgb(169 127 242)
RGB (legacy)rgb(169, 127, 242)
RGB %rgb(66% 50% 95%)
HSLhsl(262 82% 72%)
HSV / HSBhsv(262, 48%, 95%)
HWBhwb(262 50% 5%)
CMYKcmyk(30%, 48%, 0%, 5%)
CIELAB (D50)lab(61.15 34.59 -52.65)
LCHlch(61.15 62.99 303.3)
OKLaboklab(0.6859 0.0805 -0.1467)
OKLCHoklch(0.6859 0.1673 298.77)
Decimal11108338

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 6
Closest web-safe color#9966ff
Hue262°
Saturation (HSL / HSV)82% / 48%
Lightness (HSL)72%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)60% / 57%
Relative luminance (WCAG)0.3002
Red / Green / Blue169 / 127 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.00:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.00:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 56.4 / -45.3 · As background with white / black text: Lc -61.8 / 47.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #a97ff2;
  --color-brand-oklch: oklch(68.59% 0.1673 298.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(169 127 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a97ff2] text-[#a97ff2] border-[#a97ff2]">