#9F4BD5#9F4BD5

#9F4BD5 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.208 H 309.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9F4BD5
RGBrgb(159, 75, 213)
HSLhsl(277, 62%, 56%)
HSVhsv(277, 65%, 84%)
CMYKcmyk(25.4%, 64.8%, 0%, 16.5%)
CIE-LABlab(48.52, 57.81, -56.94)
CIE-LCHlch(48.52, 81.14, 315.44°)
OKLaboklab(58.14% 0.132 -0.1608)
OKLCHoklch(58.14% 0.208 309.4)
XYZxyz(28.8220, 17.2077, 64.7410)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BD5 #81D54B
analogous
#5A4BD5 #9F4BD5 #D54BC6
triadic
#9F4BD5 #D59F4B #4BD59F
tetradic
#9F4BD5 #D55A4B #81D54B #4BC6D5
square
#9F4BD5 #D55A4B #81D54B #4BC6D5
split-complementary
#9F4BD5 #C6D54B #4BD55A
monochromatic
#5E1F86 #812BB8 #9F4BD5 #B97DE1 #D4AEEC

Accessibility & contrast

On white

4.73
#9F4BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9F4BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BD5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BD5#FFFFFF#000000##FFFFFF
##9F4BD51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#3574D2
Tritanopia (blue-blind)
#97678A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f4bd5;
/* rgb */ color: rgb(159, 75, 213);
/* oklch */ color: oklch(58.1% 0.208 309.4);
Tailwind
colors: {
  custom: {
    50: '#bf83e3',
    500: '#9f4bd5',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bd5;
$custom-light: #bf83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bd5",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 276.522,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58138,
    "c": 0.20803,
    "h": 309.4
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#9F4BD5
secondary
#B8DAA2
accent
#E54382
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #9F4BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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