#9F7CFB#9F7CFB

#9F7CFB is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.7% C 0.182 H 293.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9F7CFB
RGBrgb(159, 124, 251)
HSLhsl(257, 94%, 74%)
HSVhsv(257, 51%, 98%)
CMYKcmyk(36.7%, 50.6%, 0%, 1.6%)
CIE-LABlab(60.56, 41.27, -58.94)
CIE-LCHlch(60.56, 71.95, 305.00°)
OKLaboklab(67.7% 0.0731 -0.1668)
OKLCHoklch(67.7% 0.182 293.7)
XYZxyz(38.9138, 28.7504, 94.7472)
Luminance0.2875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7CFB #D8FB7C
analogous
#7C98FB #9F7CFB #DE7CFB
triadic
#9F7CFB #FB9F7C #7CFB9F
tetradic
#9F7CFB #FB7C98 #D8FB7C #7CFBDE
square
#9F7CFB #FB7C98 #D8FB7C #7CFBDE
split-complementary
#9F7CFB #FBDE7C #98FB7C
monochromatic
#4907F5 #7341F9 #9F7CFB #CBB7FD #E9E1FE

Accessibility & contrast

On white

3.11
#9F7CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#9F7CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7CFB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7CFB#FFFFFF#000000##000000
##9F7CFB1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#5090F8
Tritanopia (blue-blind)
#8896B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f7cfb;
/* rgb */ color: rgb(159, 124, 251);
/* oklch */ color: oklch(67.7% 0.182 293.7);
Tailwind
colors: {
  custom: {
    50: '#bfa2fd',
    500: '#9f7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #9f7cfb;
$custom-light: #bfa2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7cfb",
  "rgb": {
    "r": 159,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 256.535,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67695,
    "c": 0.18212,
    "h": 293.7
  },
  "luminance": 0.28751
}

Semantic roles & 50–950 ramp

primary
#9F7CFB
secondary
#EDF6D5
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9F7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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