#9F4BE0#9F4BE0

#9F4BE0 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.9% C 0.219 H 306.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9F4BE0
RGBrgb(159, 75, 224)
HSLhsl(274, 71%, 59%)
HSVhsv(274, 67%, 88%)
CMYKcmyk(29%, 66.5%, 0%, 12.2%)
CIE-LABlab(49.23, 60.25, -62.05)
CIE-LCHlch(49.23, 86.49, 314.16°)
OKLaboklab(58.88% 0.131 -0.1758)
OKLCHoklch(58.88% 0.219 306.7)
XYZxyz(30.2658, 17.7852, 72.3450)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BE0 #8CE04B
analogous
#544BE0 #9F4BE0 #E04BD6
triadic
#9F4BE0 #E09F4B #4BE09F
tetradic
#9F4BE0 #E0544B #8CE04B #4BD6E0
square
#9F4BE0 #E0544B #8CE04B #4BD6E0
split-complementary
#9F4BE0 #D6E04B #4BE054
monochromatic
#601A97 #8223CB #9F4BE0 #BB7FE9 #D7B3F2

Accessibility & contrast

On white

4.61
#9F4BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9F4BE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BE0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BE0#FFFFFF#000000##FFFFFF
##9F4BE01.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#2476DD
Tritanopia (blue-blind)
#946B90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4be0;
/* rgb */ color: rgb(159, 75, 224);
/* oklch */ color: oklch(58.9% 0.219 306.7);
Tailwind
colors: {
  custom: {
    50: '#c083ea',
    500: '#9f4be0',
    950: '#000000',
  },
}
SCSS
$custom: #9f4be0;
$custom-light: #c083ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4be0",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 273.826,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.21929,
    "h": 306.7
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#9F4BE0
secondary
#C0E1A6
accent
#ED3A88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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