#9771FA#9771FA

#9771FA is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.196 H 292.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9771FA
RGBrgb(151, 113, 250)
HSLhsl(257, 93%, 71%)
HSVhsv(257, 55%, 98%)
CMYKcmyk(39.6%, 54.8%, 0%, 2%)
CIE-LABlab(57.36, 45.29, -63.56)
CIE-LCHlch(57.36, 78.05, 305.47°)
OKLaboklab(65.13% 0.0764 -0.1806)
OKLCHoklch(65.13% 0.196 292.9)
XYZxyz(35.9183, 25.2908, 93.4131)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9771FA #D4FA71
analogous
#718FFA #9771FA #DB71FA
triadic
#9771FA #FA9771 #71FA97
tetradic
#9771FA #FA718F #D4FA71 #71FADB
square
#9771FA #FA718F #D4FA71 #71FADB
split-complementary
#9771FA #FADB71 #8FFA71
monochromatic
#4608E8 #6C36F8 #9771FA #C2ACFC #E9E1FE

Accessibility & contrast

On white

3.47
#9771FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9771FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9771FA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9771FA#FFFFFF#000000##000000
##9771FA1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8BFF
Deuteranopia (green-blind)
#3787F7
Tritanopia (blue-blind)
#7D8EAB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9771fa;
/* rgb */ color: rgb(151, 113, 250);
/* oklch */ color: oklch(65.1% 0.196 292.9);
Tailwind
colors: {
  custom: {
    50: '#bb9bfd',
    500: '#9771fa',
    950: '#000000',
  },
}
SCSS
$custom: #9771fa;
$custom-light: #bb9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9771fa",
  "rgb": {
    "r": 151,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 256.642,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65126,
    "c": 0.19612,
    "h": 292.9
  },
  "luminance": 0.25292
}

Semantic roles & 50–950 ramp

primary
#9771FA
secondary
#EBF5D1
accent
#E600A6
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9771FA

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

Preview Lab → · Contrast checker → · Palette generator →

#9771FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva