#9A71FA#9A71FA

#9A71FA is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.4% C 0.196 H 294.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9A71FA
RGBrgb(154, 113, 250)
HSLhsl(258, 93%, 71%)
HSVhsv(258, 55%, 98%)
CMYKcmyk(38.4%, 54.8%, 0%, 2%)
CIE-LABlab(57.64, 45.97, -63.10)
CIE-LCHlch(57.64, 78.07, 306.07°)
OKLaboklab(65.4% 0.0802 -0.1792)
OKLCHoklch(65.4% 0.196 294.1)
XYZxyz(36.4823, 25.5816, 93.4395)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A71FA #D1FA71
analogous
#718CFA #9A71FA #DE71FA
triadic
#9A71FA #FA9A71 #71FA9A
tetradic
#9A71FA #FA718C #D1FA71 #71FADE
square
#9A71FA #FA718C #D1FA71 #71FADE
split-complementary
#9A71FA #FADE71 #8CFA71
monochromatic
#4B08E8 #7036F8 #9A71FA #C4ACFC #EAE1FE

Accessibility & contrast

On white

3.43
#9A71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9A71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A71FA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A71FA#FFFFFF#000000##000000
##9A71FA1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8CFF
Deuteranopia (green-blind)
#3A88F7
Tritanopia (blue-blind)
#828EAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9a71fa;
/* rgb */ color: rgb(154, 113, 250);
/* oklch */ color: oklch(65.4% 0.196 294.1);
Tailwind
colors: {
  custom: {
    50: '#bd9bfd',
    500: '#9a71fa',
    950: '#000000',
  },
}
SCSS
$custom: #9a71fa;
$custom-light: #bd9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a71fa",
  "rgb": {
    "r": 154,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 257.956,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65399,
    "c": 0.19627,
    "h": 294.1
  },
  "luminance": 0.25582
}

Semantic roles & 50–950 ramp

primary
#9A71FA
secondary
#EBF5D1
accent
#E600A1
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9A71FA

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

Preview Lab → · Contrast checker → · Palette generator →

#9A71FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva