#9140E4#9140E4

#9140E4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.3% C 0.233 H 301.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9140E4
RGBrgb(145, 64, 228)
HSLhsl(270, 75%, 57%)
HSVhsv(270, 72%, 89%)
CMYKcmyk(36.4%, 71.9%, 0%, 10.6%)
CIE-LABlab(46.03, 63.39, -69.60)
CIE-LCHlch(46.03, 94.14, 312.33°)
OKLaboklab(56.31% 0.1228 -0.1984)
OKLCHoklch(56.31% 0.233 301.8)
XYZxyz(27.5107, 15.2878, 74.8852)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140E4 #93E440
analogous
#4041E4 #9140E4 #E340E4
triadic
#9140E4 #E49140 #40E491
tetradic
#9140E4 #E44041 #93E440 #40E4E3
square
#9140E4 #E44041 #93E440 #40E4E3
split-complementary
#9140E4 #E4E340 #41E440
monochromatic
#541595 #721DCA #9140E4 #B076EC #CFABF3

Accessibility & contrast

On white

5.18
#9140E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9140E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140E4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140E4#FFFFFF#000000##FFFFFF
##9140E41.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#7F698E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9140e4;
/* rgb */ color: rgb(145, 64, 228);
/* oklch */ color: oklch(56.3% 0.233 301.8);
Tailwind
colors: {
  custom: {
    50: '#b87cee',
    500: '#9140e4',
    950: '#000000',
  },
}
SCSS
$custom: #9140e4;
$custom-light: #b87cee;
$custom-dark: #000000;
JSON
{
  "hex": "#9140e4",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 228
  },
  "hsl": {
    "h": 269.634,
    "s": 75.229,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56305,
    "c": 0.23339,
    "h": 301.8
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#9140E4
secondary
#C0E19F
accent
#F23695
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9140E4

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

Preview Lab → · Contrast checker → · Palette generator →

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