#9F4BE6#9F4BE6

#9F4BE6 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.225 H 305.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9F4BE6
RGBrgb(159, 75, 230)
HSLhsl(273, 76%, 60%)
HSVhsv(273, 67%, 90%)
CMYKcmyk(30.9%, 67.4%, 0%, 9.8%)
CIE-LABlab(49.64, 61.60, -64.79)
CIE-LCHlch(49.64, 89.40, 313.55°)
OKLaboklab(59.29% 0.1304 -0.1839)
OKLCHoklch(59.29% 0.225 305.3)
XYZxyz(31.0939, 18.1165, 76.7063)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BE6 #92E64B
analogous
#514BE6 #9F4BE6 #E64BE0
triadic
#9F4BE6 #E69F4B #4BE69F
tetradic
#9F4BE6 #E6514B #92E64B #4BE0E6
square
#9F4BE6 #E6514B #92E64B #4BE0E6
split-complementary
#9F4BE6 #E0E64B #4BE651
monochromatic
#6116A0 #821ED6 #9F4BE6 #BC81ED #D8B6F5

Accessibility & contrast

On white

4.54
#9F4BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9F4BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4BE6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BE6#FFFFFF#000000##000000
##9F4BE61.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#1576E3
Tritanopia (blue-blind)
#926E93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4be6;
/* rgb */ color: rgb(159, 75, 230);
/* oklch */ color: oklch(59.3% 0.225 305.3);
Tailwind
colors: {
  custom: {
    50: '#c083ef',
    500: '#9f4be6',
    950: '#000000',
  },
}
SCSS
$custom: #9f4be6;
$custom-light: #c083ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4be6",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 272.516,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59294,
    "c": 0.22543,
    "h": 305.3
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#9F4BE6
secondary
#C4E4A8
accent
#F2368C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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