#9F7BFD#9F7BFD

#9F7BFD is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.186 H 293.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9F7BFD
RGBrgb(159, 123, 253)
HSLhsl(257, 97%, 74%)
HSVhsv(257, 51%, 99%)
CMYKcmyk(37.2%, 51.4%, 0%, 0.8%)
CIE-LABlab(60.45, 42.35, -60.21)
CIE-LCHlch(60.45, 73.62, 305.12°)
OKLaboklab(67.65% 0.0744 -0.1705)
OKLCHoklch(67.65% 0.186 293.6)
XYZxyz(39.1060, 28.6278, 96.3748)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F7BFD #D9FD7B
analogous
#7B98FD #9F7BFD #E07BFD
triadic
#9F7BFD #FD9F7B #7BFD9F
tetradic
#9F7BFD #FD7B98 #D9FD7B #7BFDE0
square
#9F7BFD #FD7B98 #D9FD7B #7BFDE0
split-complementary
#9F7BFD #FDE07B #98FD7B
monochromatic
#4804FA #733FFC #9F7BFD #CBB7FE #E9E1FF

Accessibility & contrast

On white

3.12
#9F7BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9F7BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F7BFD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F7BFD#FFFFFF#000000##000000
##9F7BFD1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#4D90FA
Tritanopia (blue-blind)
#8895B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f7bfd;
/* rgb */ color: rgb(159, 123, 253);
/* oklch */ color: oklch(67.7% 0.186 293.6);
Tailwind
colors: {
  custom: {
    50: '#c0a2ff',
    500: '#9f7bfd',
    950: '#000000',
  },
}
SCSS
$custom: #9f7bfd;
$custom-light: #c0a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f7bfd",
  "rgb": {
    "r": 159,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 256.615,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6765,
    "c": 0.18609,
    "h": 293.6
  },
  "luminance": 0.28629
}

Semantic roles & 50–950 ramp

primary
#9F7BFD
secondary
#EDF7D4
accent
#E600A6
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9F7BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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