#9140E5#9140E5

#9140E5 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.4% C 0.234 H 301.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9140E5
RGBrgb(145, 64, 229)
HSLhsl(269, 76%, 57%)
HSVhsv(269, 72%, 90%)
CMYKcmyk(36.7%, 72.1%, 0%, 10.2%)
CIE-LABlab(46.10, 63.62, -70.04)
CIE-LCHlch(46.10, 94.63, 312.25°)
OKLaboklab(56.38% 0.1226 -0.1997)
OKLCHoklch(56.38% 0.234 301.5)
XYZxyz(27.6499, 15.3435, 75.6184)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140E5 #94E540
analogous
#4041E5 #9140E5 #E440E5
triadic
#9140E5 #E59140 #40E591
tetradic
#9140E5 #E54041 #94E540 #40E5E4
square
#9140E5 #E54041 #94E540 #40E5E4
split-complementary
#9140E5 #E5E440 #41E540
monochromatic
#541496 #721CCC #9140E5 #B076EC #CFACF4

Accessibility & contrast

On white

5.16
#9140E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9140E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140E5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140E5#FFFFFF#000000##FFFFFF
##9140E51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#7F698F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9140e5;
/* rgb */ color: rgb(145, 64, 229);
/* oklch */ color: oklch(56.4% 0.234 301.5);
Tailwind
colors: {
  custom: {
    50: '#b87cee',
    500: '#9140e5',
    950: '#000000',
  },
}
SCSS
$custom: #9140e5;
$custom-light: #b87cee;
$custom-dark: #000000;
JSON
{
  "hex": "#9140e5",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 229
  },
  "hsl": {
    "h": 269.455,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.23439,
    "h": 301.5
  },
  "luminance": 0.15344
}

Semantic roles & 50–950 ramp

primary
#9140E5
secondary
#C1E29F
accent
#F33596
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A17
muted
#817C85

Preview Lab

Preview with #9140E5

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

Preview Lab → · Contrast checker → · Palette generator →

#9140E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva