#9140E3#9140E3

#9140E3 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.232 H 302.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9140E3
RGBrgb(145, 64, 227)
HSLhsl(270, 74%, 57%)
HSVhsv(270, 72%, 89%)
CMYKcmyk(36.1%, 71.8%, 0%, 11%)
CIE-LABlab(45.95, 63.16, -69.15)
CIE-LCHlch(45.95, 93.65, 312.41°)
OKLaboklab(56.23% 0.123 -0.1971)
OKLCHoklch(56.23% 0.232 302)
XYZxyz(27.3723, 15.2325, 74.1562)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140E3 #92E340
analogous
#4041E3 #9140E3 #E340E3
triadic
#9140E3 #E39140 #40E391
tetradic
#9140E3 #E34041 #92E340 #40E3E3
square
#9140E3 #E34041 #92E340 #40E3E3
split-complementary
#9140E3 #E3E340 #41E340
monochromatic
#541693 #721DC8 #9140E3 #B075EB #CEABF3

Accessibility & contrast

On white

5.19
#9140E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9140E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140E3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140E3#FFFFFF#000000##FFFFFF
##9140E31.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#80688E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9140e3;
/* rgb */ color: rgb(145, 64, 227);
/* oklch */ color: oklch(56.2% 0.232 302.0);
Tailwind
colors: {
  custom: {
    50: '#b87ced',
    500: '#9140e3',
    950: '#000000',
  },
}
SCSS
$custom: #9140e3;
$custom-light: #b87ced;
$custom-dark: #000000;
JSON
{
  "hex": "#9140e3",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 227
  },
  "hsl": {
    "h": 269.816,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.23237,
    "h": 302
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#9140E3
secondary
#C0E19E
accent
#F13794
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9140E3

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

Preview Lab → · Contrast checker → · Palette generator →

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