#9E4BE7#9E4BE7

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

Color values

HEX#9E4BE7
RGBrgb(158, 75, 231)
HSLhsl(272, 76%, 60%)
HSVhsv(272, 68%, 91%)
CMYKcmyk(31.6%, 67.5%, 0%, 9.4%)
CIE-LABlab(49.58, 61.63, -65.45)
CIE-LCHlch(49.58, 89.90, 313.28°)
OKLaboklab(59.25% 0.129 -0.1859)
OKLCHoklch(59.25% 0.226 304.8)
XYZxyz(31.0372, 18.0709, 77.4388)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BE7 #94E74B
analogous
#504BE7 #9E4BE7 #E74BE2
triadic
#9E4BE7 #E79E4B #4BE79E
tetradic
#9E4BE7 #E7504B #94E74B #4BE2E7
square
#9E4BE7 #E7504B #94E74B #4BE2E7
split-complementary
#9E4BE7 #E2E74B #4BE750
monochromatic
#6016A2 #801DD8 #9E4BE7 #BB81EE #D8B7F5

Accessibility & contrast

On white

4.55
#9E4BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9E4BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E4BE7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BE7#FFFFFF#000000##000000
##9E4BE71.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0D76E4
Tritanopia (blue-blind)
#916E93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e4be7;
/* rgb */ color: rgb(158, 75, 231);
/* oklch */ color: oklch(59.3% 0.226 304.8);
Tailwind
colors: {
  custom: {
    50: '#c083ef',
    500: '#9e4be7',
    950: '#000000',
  },
}
SCSS
$custom: #9e4be7;
$custom-light: #c083ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4be7",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 271.923,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.22623,
    "h": 304.8
  },
  "luminance": 0.18071
}

Semantic roles & 50–950 ramp

primary
#9E4BE7
secondary
#C5E5A9
accent
#F3358E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9E4BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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