#9F71F7#9F71F7

#9F71F7 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.193 H 296.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9F71F7
RGBrgb(159, 113, 247)
HSLhsl(261, 89%, 71%)
HSVhsv(261, 54%, 97%)
CMYKcmyk(35.6%, 54.3%, 0%, 3.1%)
CIE-LABlab(57.94, 46.34, -60.93)
CIE-LCHlch(57.94, 76.55, 307.26°)
OKLaboklab(65.68% 0.0863 -0.1726)
OKLCHoklch(65.68% 0.193 296.6)
XYZxyz(36.9875, 25.8960, 91.0274)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F71F7 #C9F771
analogous
#7186F7 #9F71F7 #E271F7
triadic
#9F71F7 #F79F71 #71F79F
tetradic
#9F71F7 #F77186 #C9F771 #71F7E2
square
#9F71F7 #F77186 #C9F771 #71F7E2
split-complementary
#9F71F7 #F7E271 #86F771
monochromatic
#560DE1 #7837F4 #9F71F7 #C6ABFA #EBE2FD

Accessibility & contrast

On white

3.40
#9F71F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#9F71F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F71F7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F71F7#FFFFFF#000000##000000
##9F71F71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFC
Deuteranopia (green-blind)
#448AF4
Tritanopia (blue-blind)
#8B8CA9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f71f7;
/* rgb */ color: rgb(159, 113, 247);
/* oklch */ color: oklch(65.7% 0.193 296.6);
Tailwind
colors: {
  custom: {
    50: '#c09bfa',
    500: '#9f71f7',
    950: '#000000',
  },
}
SCSS
$custom: #9f71f7;
$custom-light: #c09bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f71f7",
  "rgb": {
    "r": 159,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 260.597,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65676,
    "c": 0.19301,
    "h": 296.6
  },
  "luminance": 0.25897
}

Semantic roles & 50–950 ramp

primary
#9F71F7
secondary
#E8F4D0
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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