#9142AE#9142AE

#9142AE is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.8% C 0.176 H 315.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9142AE
RGBrgb(145, 66, 174)
HSLhsl(284, 45%, 47%)
HSVhsv(284, 62%, 68%)
CMYKcmyk(16.7%, 62.1%, 0%, 31.8%)
CIE-LABlab(42.72, 50.42, -43.67)
CIE-LCHlch(42.72, 66.70, 319.10°)
OKLaboklab(52.79% 0.1262 -0.1223)
OKLCHoklch(52.79% 0.176 315.9)
XYZxyz(21.2641, 12.9729, 41.4201)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142AE #5FAE42
analogous
#5B42AE #9142AE #AE4295
triadic
#9142AE #AE9142 #42AE91
tetradic
#9142AE #AE5B42 #5FAE42 #4295AE
square
#9142AE #AE5B42 #5FAE42 #4295AE
split-complementary
#9142AE #95AE42 #42AE5B
monochromatic
#472055 #6C3182 #9142AE #AC68C6 #C594D6

Accessibility & contrast

On white

5.84
#9142AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9142AE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142AE#FFFFFF#000000##FFFFFF
##9142AE1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#4267AB
Tritanopia (blue-blind)
#8F5572
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9142ae;
/* rgb */ color: rgb(145, 66, 174);
/* oklch */ color: oklch(52.8% 0.176 315.9);
Tailwind
colors: {
  custom: {
    50: '#b47bc7',
    500: '#9142ae',
    950: '#000000',
  },
}
SCSS
$custom: #9142ae;
$custom-light: #b47bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9142ae",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 283.889,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.17574,
    "h": 315.9
  },
  "luminance": 0.12972
}

Semantic roles & 50–950 ramp

primary
#9142AE
secondary
#99C28A
accent
#D55376
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #9142AE

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

Preview Lab → · Contrast checker → · Palette generator →

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