#9142AD#9142AD

#9142AD is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.7% C 0.175 H 316.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9142AD
RGBrgb(145, 66, 173)
HSLhsl(284, 45%, 47%)
HSVhsv(284, 62%, 68%)
CMYKcmyk(16.2%, 61.8%, 0%, 32.2%)
CIE-LABlab(42.66, 50.21, -43.17)
CIE-LCHlch(42.66, 66.22, 319.31°)
OKLaboklab(52.73% 0.1261 -0.1209)
OKLCHoklch(52.73% 0.175 316.2)
XYZxyz(21.1669, 12.9341, 40.9086)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142AD #5EAD42
analogous
#5C42AD #9142AD #AD4294
triadic
#9142AD #AD9142 #42AD91
tetradic
#9142AD #AD5C42 #5EAD42 #4294AD
square
#9142AD #AD5C42 #5EAD42 #4294AD
split-complementary
#9142AD #94AD42 #42AD5C
monochromatic
#472054 #6C3181 #9142AD #AC67C5 #C593D6

Accessibility & contrast

On white

5.86
#9142AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9142AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142AD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142AD#FFFFFF#000000##FFFFFF
##9142AD1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B0
Deuteranopia (green-blind)
#4367AA
Tritanopia (blue-blind)
#8F5571
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9142ad;
/* rgb */ color: rgb(145, 66, 173);
/* oklch */ color: oklch(52.7% 0.175 316.2);
Tailwind
colors: {
  custom: {
    50: '#b47bc6',
    500: '#9142ad',
    950: '#000000',
  },
}
SCSS
$custom: #9142ad;
$custom-light: #b47bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9142ad",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 284.299,
    "s": 44.77,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.17472,
    "h": 316.2
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#9142AD
secondary
#98C189
accent
#D45375
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #9142AD

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

Preview Lab → · Contrast checker → · Palette generator →

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