#9F4BE2#9F4BE2

#9F4BE2 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.221 H 306.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9F4BE2
RGBrgb(159, 75, 226)
HSLhsl(273, 72%, 59%)
HSVhsv(273, 67%, 89%)
CMYKcmyk(29.6%, 66.8%, 0%, 11.4%)
CIE-LABlab(49.37, 60.70, -62.97)
CIE-LCHlch(49.37, 87.46, 313.95°)
OKLaboklab(59.02% 0.1308 -0.1785)
OKLCHoklch(59.02% 0.221 306.2)
XYZxyz(30.5387, 17.8944, 73.7819)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BE2 #8EE24B
analogous
#544BE2 #9F4BE2 #E24BDA
triadic
#9F4BE2 #E29F4B #4BE29F
tetradic
#9F4BE2 #E2544B #8EE24B #4BDAE2
square
#9F4BE2 #E2544B #8EE24B #4BDAE2
split-complementary
#9F4BE2 #DAE24B #4BE254
monochromatic
#61199A #8221CF #9F4BE2 #BB80EA #D7B4F3

Accessibility & contrast

On white

4.59
#9F4BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9F4BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BE2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BE2#FFFFFF#000000##FFFFFF
##9F4BE21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#2076DF
Tritanopia (blue-blind)
#936C91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4be2;
/* rgb */ color: rgb(159, 75, 226);
/* oklch */ color: oklch(59.0% 0.221 306.2);
Tailwind
colors: {
  custom: {
    50: '#c083ec',
    500: '#9f4be2',
    950: '#000000',
  },
}
SCSS
$custom: #9f4be2;
$custom-light: #c083ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4be2",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 273.377,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59016,
    "c": 0.22134,
    "h": 306.2
  },
  "luminance": 0.17894
}

Semantic roles & 50–950 ramp

primary
#9F4BE2
secondary
#C1E2A7
accent
#EF398A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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