#9F7FF3#9F7FF3

#9F7FF3 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.7% C 0.167 H 294.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F7FF3
RGBrgb(159, 127, 243)
HSLhsl(257, 83%, 73%)
HSVhsv(257, 48%, 95%)
CMYKcmyk(34.6%, 47.7%, 0%, 4.7%)
CIE-LABlab(60.80, 37.51, -54.15)
CIE-LCHlch(60.80, 65.87, 304.71°)
OKLaboklab(67.73% 0.0686 -0.1528)
OKLCHoklch(67.73% 0.167 294.2)
XYZxyz(38.0610, 29.0200, 88.3728)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7FF3 #D3F37F
analogous
#7F99F3 #9F7FF3 #D97FF3
triadic
#9F7FF3 #F39F7F #7FF39F
tetradic
#9F7FF3 #F37F99 #D3F37F #7FF3D9
square
#9F7FF3 #F37F99 #D3F37F #7FF3D9
split-complementary
#9F7FF3 #F3D97F #99F37F
monochromatic
#4E15E2 #7547EE #9F7FF3 #C9B7F8 #EAE3FC

Accessibility & contrast

On white

3.09
#9F7FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9F7FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7FF3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7FF3#FFFFFF#000000##000000
##9F7FF31.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F7
Deuteranopia (green-blind)
#5B91F0
Tritanopia (blue-blind)
#8B95AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f7ff3;
/* rgb */ color: rgb(159, 127, 243);
/* oklch */ color: oklch(67.7% 0.167 294.2);
Tailwind
colors: {
  custom: {
    50: '#bfa4f7',
    500: '#9f7ff3',
    950: '#000000',
  },
}
SCSS
$custom: #9f7ff3;
$custom-light: #bfa4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7ff3",
  "rgb": {
    "r": 159,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 256.552,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67732,
    "c": 0.16748,
    "h": 294.2
  },
  "luminance": 0.29021
}

Semantic roles & 50–950 ramp

primary
#9F7FF3
secondary
#ECF4D7
accent
#DF06A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9F7FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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