#9F7EF7#9F7EF7

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

Color values

HEX#9F7EF7
RGBrgb(159, 126, 247)
HSLhsl(256, 88%, 73%)
HSVhsv(256, 49%, 97%)
CMYKcmyk(35.6%, 49%, 0%, 3.1%)
CIE-LABlab(60.79, 39.11, -56.37)
CIE-LCHlch(60.79, 68.61, 304.75°)
OKLaboklab(67.79% 0.0703 -0.1593)
OKLCHoklch(67.79% 0.174 293.8)
XYZxyz(38.5431, 29.0072, 91.5459)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7EF7 #D6F77E
analogous
#7E99F7 #9F7EF7 #DC7EF7
triadic
#9F7EF7 #F79F7E #7EF79F
tetradic
#9F7EF7 #F77E99 #D6F77E #7EF7DC
square
#9F7EF7 #F77E99 #D6F77E #7EF7DC
split-complementary
#9F7EF7 #F7DC7E #99F77E
monochromatic
#4B0FEC #7444F3 #9F7EF7 #CAB8FB #EAE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F7EF7#FFFFFF#000000##000000
##9F7EF71.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)
#5194FB
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#8A96AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f7ef7;
/* rgb */ color: rgb(159, 126, 247);
/* oklch */ color: oklch(67.8% 0.174 293.8);
Tailwind
colors: {
  custom: {
    50: '#bfa4fa',
    500: '#9f7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #9f7ef7;
$custom-light: #bfa4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7ef7",
  "rgb": {
    "r": 159,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 256.364,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67793,
    "c": 0.1741,
    "h": 293.8
  },
  "luminance": 0.29008
}

Semantic roles & 50–950 ramp

primary
#9F7EF7
secondary
#EDF5D6
accent
#E501A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #9F7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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