#9142D5#9142D5

#9142D5 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.216 H 304.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9142D5
RGBrgb(145, 66, 213)
HSLhsl(272, 64%, 55%)
HSVhsv(272, 69%, 84%)
CMYKcmyk(31.9%, 69%, 0%, 16.5%)
CIE-LABlab(45.25, 59.04, -62.31)
CIE-LCHlch(45.25, 85.83, 313.46°)
OKLaboklab(55.41% 0.1234 -0.177)
OKLCHoklch(55.41% 0.216 304.9)
XYZxyz(25.6328, 14.7204, 64.4288)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142D5 #86D542
analogous
#4842D5 #9142D5 #D542CF
triadic
#9142D5 #D59142 #42D591
tetradic
#9142D5 #D54842 #86D542 #42CFD5
square
#9142D5 #D54842 #86D542 #42CFD5
split-complementary
#9142D5 #CFD542 #42D548
monochromatic
#521C80 #7228B2 #9142D5 #AE74E0 #CBA6EB

Accessibility & contrast

On white

5.32
#9142D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9142D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142D5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142D5#FFFFFF#000000##FFFFFF
##9142D51.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#846487
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9142d5;
/* rgb */ color: rgb(145, 66, 213);
/* oklch */ color: oklch(55.4% 0.216 304.9);
Tailwind
colors: {
  custom: {
    50: '#b67ce3',
    500: '#9142d5',
    950: '#000000',
  },
}
SCSS
$custom: #9142d5;
$custom-light: #b67ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#9142d5",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 272.245,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5541,
    "c": 0.21577,
    "h": 304.9
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#9142D5
secondary
#B7D89A
accent
#E7418E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9142D5

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

Preview Lab → · Contrast checker → · Palette generator →

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