#9F4DFD#9F4DFD

#9F4DFD is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.2% C 0.247 H 300.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9F4DFD
RGBrgb(159, 77, 253)
HSLhsl(268, 98%, 65%)
HSVhsv(268, 70%, 99%)
CMYKcmyk(37.2%, 69.6%, 0%, 0.8%)
CIE-LABlab(51.58, 66.00, -74.53)
CIE-LCHlch(51.58, 99.55, 311.53°)
OKLaboklab(61.19% 0.1251 -0.2125)
OKLCHoklch(61.19% 0.247 300.5)
XYZxyz(34.6772, 19.7702, 94.8986)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DFD #ABFD4D
analogous
#4D53FD #9F4DFD #F74DFD
triadic
#9F4DFD #FD9F4D #4DFD9F
tetradic
#9F4DFD #FD4D53 #ABFD4D #4DFDF7
square
#9F4DFD #FD4D53 #ABFD4D #4DFDF7
split-complementary
#9F4DFD #FDF74D #53FD4D
monochromatic
#6102CD #7E10FC #9F4DFD #C08AFE #E0C6FE

Accessibility & contrast

On white

4.24
#9F4DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9F4DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4DFD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4DFD#FFFFFF#000000##000000
##9F4DFD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007AF9
Tritanopia (blue-blind)
#8A78A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f4dfd;
/* rgb */ color: rgb(159, 77, 253);
/* oklch */ color: oklch(61.2% 0.247 300.5);
Tailwind
colors: {
  custom: {
    50: '#c285ff',
    500: '#9f4dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9f4dfd;
$custom-light: #c285ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4dfd",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 253
  },
  "hsl": {
    "h": 267.955,
    "s": 97.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.24663,
    "h": 300.5
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#9F4DFD
secondary
#D5F1B5
accent
#E6007B
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #9F4DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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