#9F7AFA#9F7AFA

#9F7AFA is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.3% C 0.184 H 294.2°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9F7AFA
RGBrgb(159, 122, 250)
HSLhsl(257, 93%, 73%)
HSVhsv(257, 51%, 98%)
CMYKcmyk(36.4%, 51.2%, 0%, 2%)
CIE-LABlab(60.06, 42.13, -59.19)
CIE-LCHlch(60.06, 72.65, 305.44°)
OKLaboklab(67.31% 0.0755 -0.1675)
OKLCHoklch(67.31% 0.184 294.2)
XYZxyz(38.5084, 28.1913, 93.8365)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7AFA #D5FA7A
analogous
#7A95FA #9F7AFA #DF7AFA
triadic
#9F7AFA #FA9F7A #7AFA9F
tetradic
#9F7AFA #FA7A95 #D5FA7A #7AFADF
square
#9F7AFA #FA7A95 #D5FA7A #7AFADF
split-complementary
#9F7AFA #FADF7A #95FA7A
monochromatic
#4C09F1 #743FF8 #9F7AFA #CAB5FC #EAE2FE

Accessibility & contrast

On white

3.16
#9F7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#9F7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7AFA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7AFA#FFFFFF#000000##000000
##9F7AFA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4692FE
Deuteranopia (green-blind)
#4E8FF7
Tritanopia (blue-blind)
#8994AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f7afa;
/* rgb */ color: rgb(159, 122, 250);
/* oklch */ color: oklch(67.3% 0.184 294.2);
Tailwind
colors: {
  custom: {
    50: '#bfa1fd',
    500: '#9f7afa',
    950: '#000000',
  },
}
SCSS
$custom: #9f7afa;
$custom-light: #bfa1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7afa",
  "rgb": {
    "r": 159,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 257.344,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67305,
    "c": 0.18375,
    "h": 294.2
  },
  "luminance": 0.28192
}

Semantic roles & 50–950 ramp

primary
#9F7AFA
secondary
#ECF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9F7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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