#9A71F0#9A71F0

#9A71F0 is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.8% C 0.184 H 295.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9A71F0
RGBrgb(154, 113, 240)
HSLhsl(259, 81%, 69%)
HSVhsv(259, 53%, 94%)
CMYKcmyk(35.8%, 52.9%, 0%, 5.9%)
CIE-LABlab(57.05, 43.37, -58.50)
CIE-LCHlch(57.05, 72.82, 306.55°)
OKLaboklab(64.77% 0.0798 -0.1657)
OKLCHoklch(64.77% 0.184 295.7)
XYZxyz(34.9557, 24.9709, 85.3994)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A71F0 #C7F071
analogous
#7188F0 #9A71F0 #DA71F0
triadic
#9A71F0 #F09A71 #71F09A
tetradic
#9A71F0 #F07188 #C7F071 #71F0DA
square
#9A71F0 #F07188 #C7F071 #71F0DA
split-complementary
#9A71F0 #F0DA71 #88F071
monochromatic
#5216D1 #733AEA #9A71F0 #C1A8F6 #E9E0FC

Accessibility & contrast

On white

3.50
#9A71F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9A71F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A71F0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A71F0#FFFFFF#000000##000000
##9A71F01.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8AF4
Deuteranopia (green-blind)
#4787ED
Tritanopia (blue-blind)
#868BA6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9a71f0;
/* rgb */ color: rgb(154, 113, 240);
/* oklch */ color: oklch(64.8% 0.184 295.7);
Tailwind
colors: {
  custom: {
    50: '#bc9bf6',
    500: '#9a71f0',
    950: '#000000',
  },
}
SCSS
$custom: #9a71f0;
$custom-light: #bc9bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a71f0",
  "rgb": {
    "r": 154,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 259.37,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64772,
    "c": 0.18389,
    "h": 295.7
  },
  "luminance": 0.24972
}

Semantic roles & 50–950 ramp

primary
#9A71F0
secondary
#E5F1CC
accent
#DD0898
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9A71F0

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

Preview Lab → · Contrast checker → · Palette generator →

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