#9F4FE7#9F4FE7

#9F4FE7 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.221 H 304.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9F4FE7
RGBrgb(159, 79, 231)
HSLhsl(272, 76%, 61%)
HSVhsv(272, 66%, 91%)
CMYKcmyk(31.2%, 65.8%, 0%, 9.4%)
CIE-LABlab(50.37, 59.98, -64.17)
CIE-LCHlch(50.37, 87.83, 313.07°)
OKLaboklab(59.84% 0.126 -0.1821)
OKLCHoklch(59.84% 0.221 304.7)
XYZxyz(31.5146, 18.7326, 77.5413)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FE7 #97E74F
analogous
#534FE7 #9F4FE7 #E74FE3
triadic
#9F4FE7 #E79F4F #4FE79F
tetradic
#9F4FE7 #E7534F #97E74F #4FE3E7
square
#9F4FE7 #E7534F #97E74F #4FE3E7
split-complementary
#9F4FE7 #E3E74F #4FE753
monochromatic
#6217A5 #811EDB #9F4FE7 #BC85EE #DABBF6

Accessibility & contrast

On white

4.42
#9F4FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9F4FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4FE7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FE7#FFFFFF#000000##000000
##9F4FE71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#1D78E4
Tritanopia (blue-blind)
#927095
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f4fe7;
/* rgb */ color: rgb(159, 79, 231);
/* oklch */ color: oklch(59.8% 0.221 304.7);
Tailwind
colors: {
  custom: {
    50: '#c085ef',
    500: '#9f4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fe7;
$custom-light: #c085ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fe7",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 271.579,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59843,
    "c": 0.22146,
    "h": 304.7
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#9F4FE7
secondary
#C7E6AC
accent
#D80D6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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