#9E43E2#9E43E2

#9E43E2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 58.0% C 0.231 H 306.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9E43E2
RGBrgb(158, 67, 226)
HSLhsl(274, 73%, 57%)
HSVhsv(274, 70%, 89%)
CMYKcmyk(30.1%, 70.4%, 0%, 11.4%)
CIE-LABlab(47.97, 64.04, -65.22)
CIE-LCHlch(47.97, 91.41, 314.48°)
OKLaboklab(58% 0.1377 -0.1852)
OKLCHoklch(58% 0.231 306.6)
XYZxyz(29.8322, 16.7747, 73.6030)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E43E2 #87E243
analogous
#4F43E2 #9E43E2 #E243D6
triadic
#9E43E2 #E29E43 #43E29E
tetradic
#9E43E2 #E24F43 #87E243 #43D6E2
square
#9E43E2 #E24F43 #87E243 #43D6E2
split-complementary
#9E43E2 #D6E243 #43E24F
monochromatic
#5E1794 #801FC9 #9E43E2 #B978EA #D5ADF2

Accessibility & contrast

On white

4.82
#9E43E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9E43E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E43E2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E43E2#FFFFFF#000000##FFFFFF
##9E43E21.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0272DF
Tritanopia (blue-blind)
#92688E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9e43e2;
/* rgb */ color: rgb(158, 67, 226);
/* oklch */ color: oklch(58.0% 0.231 306.6);
Tailwind
colors: {
  custom: {
    50: '#c07eec',
    500: '#9e43e2',
    950: '#000000',
  },
}
SCSS
$custom: #9e43e2;
$custom-light: #c07eec;
$custom-dark: #000000;
JSON
{
  "hex": "#9e43e2",
  "rgb": {
    "r": 158,
    "g": 67,
    "b": 226
  },
  "hsl": {
    "h": 274.34,
    "s": 73.272,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.23075,
    "h": 306.6
  },
  "luminance": 0.16774
}

Semantic roles & 50–950 ramp

primary
#9E43E2
secondary
#BCE1A0
accent
#F03887
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9E43E2

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

Preview Lab → · Contrast checker → · Palette generator →

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