#9F4BE8#9F4BE8

#9F4BE8 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.4% C 0.227 H 304.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9F4BE8
RGBrgb(159, 75, 232)
HSLhsl(272, 77%, 60%)
HSVhsv(272, 68%, 91%)
CMYKcmyk(31.5%, 67.7%, 0%, 9%)
CIE-LABlab(49.77, 62.06, -65.70)
CIE-LCHlch(49.77, 90.37, 313.37°)
OKLaboklab(59.44% 0.1301 -0.1866)
OKLCHoklch(59.44% 0.227 304.9)
XYZxyz(31.3764, 18.2295, 78.1940)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BE8 #94E84B
analogous
#504BE8 #9F4BE8 #E84BE2
triadic
#9F4BE8 #E89F4B #4BE89F
tetradic
#9F4BE8 #E8504B #94E84B #4BE2E8
square
#9F4BE8 #E8504B #94E84B #4BE2E8
split-complementary
#9F4BE8 #E2E84B #4BE850
monochromatic
#6115A4 #821CDA #9F4BE8 #BC81EF #D9B8F6

Accessibility & contrast

On white

4.52
#9F4BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9F4BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4BE8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BE8#FFFFFF#000000##000000
##9F4BE81.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0D76E5
Tritanopia (blue-blind)
#926E94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4be8;
/* rgb */ color: rgb(159, 75, 232);
/* oklch */ color: oklch(59.4% 0.227 304.9);
Tailwind
colors: {
  custom: {
    50: '#c183f0',
    500: '#9f4be8',
    950: '#000000',
  },
}
SCSS
$custom: #9f4be8;
$custom-light: #c183f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4be8",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 272.102,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59435,
    "c": 0.22748,
    "h": 304.9
  },
  "luminance": 0.18229
}

Semantic roles & 50–950 ramp

primary
#9F4BE8
secondary
#C5E6A9
accent
#DA0C6C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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