#9F7AED#9F7AED

#9F7AED is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.5% C 0.167 H 296.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9F7AED
RGBrgb(159, 122, 237)
HSLhsl(259, 76%, 70%)
HSVhsv(259, 49%, 93%)
CMYKcmyk(32.9%, 48.5%, 0%, 7.1%)
CIE-LABlab(59.35, 38.79, -53.13)
CIE-LCHlch(59.35, 65.79, 306.13°)
OKLaboklab(66.54% 0.0744 -0.1498)
OKLCHoklch(66.54% 0.167 296.4)
XYZxyz(36.5399, 27.4039, 83.4687)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7AED #C8ED7A
analogous
#7A8FED #9F7AED #D87AED
triadic
#9F7AED #ED9F7A #7AED9F
tetradic
#9F7AED #ED7A8F #C8ED7A #7AEDD8
square
#9F7AED #ED7A8F #C8ED7A #7AEDD8
split-complementary
#9F7AED #EDD87A #8FED7A
monochromatic
#561CD0 #7844E6 #9F7AED #C6B0F4 #ECE4FB

Accessibility & contrast

On white

3.24
#9F7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#9F7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7AED
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7AED#FFFFFF#000000##000000
##9F7AED1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF1
Deuteranopia (green-blind)
#5A8DEA
Tritanopia (blue-blind)
#8E90A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9f7aed;
/* rgb */ color: rgb(159, 122, 237);
/* oklch */ color: oklch(66.5% 0.167 296.4);
Tailwind
colors: {
  custom: {
    50: '#bfa1f3',
    500: '#9f7aed',
    950: '#000000',
  },
}
SCSS
$custom: #9f7aed;
$custom-light: #bfa1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7aed",
  "rgb": {
    "r": 159,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 259.304,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66541,
    "c": 0.16728,
    "h": 296.4
  },
  "luminance": 0.27404
}

Semantic roles & 50–950 ramp

primary
#9F7AED
secondary
#E7F1D2
accent
#D80D97
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9F7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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