#9F7BF9#9F7BF9

#9F7BF9 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.4% C 0.181 H 294.2°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9F7BF9
RGBrgb(159, 123, 249)
HSLhsl(257, 91%, 73%)
HSVhsv(257, 51%, 98%)
CMYKcmyk(36.1%, 50.6%, 0%, 2.4%)
CIE-LABlab(60.23, 41.31, -58.37)
CIE-LCHlch(60.23, 71.51, 305.29°)
OKLaboklab(67.41% 0.0742 -0.1651)
OKLCHoklch(67.41% 0.181 294.2)
XYZxyz(38.4755, 28.3756, 93.0541)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7BF9 #D5F97B
analogous
#7B96F9 #9F7BF9 #DE7BF9
triadic
#9F7BF9 #F99F7B #7BF99F
tetradic
#9F7BF9 #F97B96 #D5F97B #7BF9DE
square
#9F7BF9 #F97B96 #D5F97B #7BF9DE
split-complementary
#9F7BF9 #F9DE7B #96F97B
monochromatic
#4C0BEF #7440F6 #9F7BF9 #CAB6FC #EAE2FE

Accessibility & contrast

On white

3.15
#9F7BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#9F7BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7BF9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7BF9#FFFFFF#000000##000000
##9F7BF91.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FD
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#8994AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f7bf9;
/* rgb */ color: rgb(159, 123, 249);
/* oklch */ color: oklch(67.4% 0.181 294.2);
Tailwind
colors: {
  custom: {
    50: '#bfa2fc',
    500: '#9f7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #9f7bf9;
$custom-light: #bfa2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7bf9",
  "rgb": {
    "r": 159,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 257.143,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6741,
    "c": 0.18103,
    "h": 294.2
  },
  "luminance": 0.28376
}

Semantic roles & 50–950 ramp

primary
#9F7BF9
secondary
#ECF6D5
accent
#E600A4
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #9F7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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