#9F4BE1#9F4BE1

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

Color values

HEX#9F4BE1
RGBrgb(159, 75, 225)
HSLhsl(274, 71%, 59%)
HSVhsv(274, 67%, 88%)
CMYKcmyk(29.3%, 66.7%, 0%, 11.8%)
CIE-LABlab(49.30, 60.48, -62.51)
CIE-LCHlch(49.30, 86.97, 314.05°)
OKLaboklab(58.95% 0.1309 -0.1772)
OKLCHoklch(58.95% 0.22 306.5)
XYZxyz(30.4018, 17.8396, 73.0614)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BE1 #8DE14B
analogous
#544BE1 #9F4BE1 #E14BD8
triadic
#9F4BE1 #E19F4B #4BE19F
tetradic
#9F4BE1 #E1544B #8DE14B #4BD8E1
square
#9F4BE1 #E1544B #8DE14B #4BD8E1
split-complementary
#9F4BE1 #D8E14B #4BE154
monochromatic
#601998 #8222CD #9F4BE1 #BB7FEA #D7B4F2

Accessibility & contrast

On white

4.60
#9F4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9F4BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BE1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BE1#FFFFFF#000000##FFFFFF
##9F4BE11.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#2276DE
Tritanopia (blue-blind)
#946C90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4be1;
/* rgb */ color: rgb(159, 75, 225);
/* oklch */ color: oklch(58.9% 0.220 306.5);
Tailwind
colors: {
  custom: {
    50: '#c083eb',
    500: '#9f4be1',
    950: '#000000',
  },
}
SCSS
$custom: #9f4be1;
$custom-light: #c083eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4be1",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 273.6,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58947,
    "c": 0.22032,
    "h": 306.5
  },
  "luminance": 0.17839
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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