#9E4FBC#9E4FBC

#9E4FBC is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.0% C 0.176 H 315.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9E4FBC
RGBrgb(158, 79, 188)
HSLhsl(283, 45%, 52%)
HSVhsv(283, 58%, 74%)
CMYKcmyk(16%, 58%, 0%, 26.3%)
CIE-LABlab(47.61, 50.26, -43.98)
CIE-LCHlch(47.61, 66.79, 318.81°)
OKLaboklab(56.97% 0.1261 -0.123)
OKLCHoklch(56.97% 0.176 315.7)
XYZxyz(25.9722, 16.4928, 49.3825)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4FBC #6DBC4F
analogous
#674FBC #9E4FBC #BC4FA4
triadic
#9E4FBC #BC9E4F #4FBC9E
tetradic
#9E4FBC #BC674F #6DBC4F #4FA4BC
square
#9E4FBC #BC674F #6DBC4F #4FA4BC
split-complementary
#9E4FBC #A4BC4F #4FBC67
monochromatic
#572869 #7C3995 #9E4FBC #B67BCD #CFA8DE

Accessibility & contrast

On white

4.89
#9E4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9E4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4FBC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4FBC#FFFFFF#000000##FFFFFF
##9E4FBC1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBF
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#9C617E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e4fbc;
/* rgb */ color: rgb(158, 79, 188);
/* oklch */ color: oklch(57.0% 0.176 315.7);
Tailwind
colors: {
  custom: {
    50: '#bd84d1',
    500: '#9e4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9e4fbc;
$custom-light: #bd84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4fbc",
  "rgb": {
    "r": 158,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 283.486,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56975,
    "c": 0.17616,
    "h": 315.7
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#9E4FBC
secondary
#A9CB9C
accent
#D55377
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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