#9142E0#9142E0

#9142E0 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.2% C 0.227 H 302.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9142E0
RGBrgb(145, 66, 224)
HSLhsl(270, 72%, 57%)
HSVhsv(270, 71%, 88%)
CMYKcmyk(35.3%, 70.5%, 0%, 12.2%)
CIE-LABlab(46.04, 61.58, -67.30)
CIE-LCHlch(46.04, 91.23, 312.46°)
OKLaboklab(56.22% 0.1217 -0.1917)
OKLCHoklch(56.22% 0.227 302.4)
XYZxyz(27.0766, 15.2979, 72.0329)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142E0 #91E042
analogous
#4242E0 #9142E0 #E042E0
triadic
#9142E0 #E09142 #42E091
tetradic
#9142E0 #E04242 #91E042 #42E0E0
square
#9142E0 #E04242 #91E042 #42E0E0
split-complementary
#9142E0 #E0E042 #42E042
monochromatic
#541890 #7220C5 #9142E0 #B077E9 #CEABF1

Accessibility & contrast

On white

5.17
#9142E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9142E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142E0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142E0#FFFFFF#000000##FFFFFF
##9142E01.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#006CDD
Tritanopia (blue-blind)
#81688D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9142e0;
/* rgb */ color: rgb(145, 66, 224);
/* oklch */ color: oklch(56.2% 0.227 302.4);
Tailwind
colors: {
  custom: {
    50: '#b77deb',
    500: '#9142e0',
    950: '#000000',
  },
}
SCSS
$custom: #9142e0;
$custom-light: #b77deb;
$custom-dark: #000000;
JSON
{
  "hex": "#9142e0",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 270,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56222,
    "c": 0.22707,
    "h": 302.4
  },
  "luminance": 0.15298
}

Semantic roles & 50–950 ramp

primary
#9142E0
secondary
#BFDF9F
accent
#EF3994
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9142E0

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

Preview Lab → · Contrast checker → · Palette generator →

#9142E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva