#9142AF#9142AF

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

Color values

HEX#9142AF
RGBrgb(145, 66, 175)
HSLhsl(283, 45%, 47%)
HSVhsv(283, 62%, 69%)
CMYKcmyk(17.1%, 62.3%, 0%, 31.4%)
CIE-LABlab(42.78, 50.63, -44.17)
CIE-LCHlch(42.78, 67.19, 318.90°)
OKLaboklab(52.85% 0.1262 -0.1238)
OKLCHoklch(52.85% 0.177 315.5)
XYZxyz(21.3619, 13.0120, 41.9354)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142AF #60AF42
analogous
#5A42AF #9142AF #AF4297
triadic
#9142AF #AF9142 #42AF91
tetradic
#9142AF #AF5A42 #60AF42 #4297AF
square
#9142AF #AF5A42 #60AF42 #4297AF
split-complementary
#9142AF #97AF42 #42AF5A
monochromatic
#472056 #6C3183 #9142AF #AC68C6 #C595D7

Accessibility & contrast

On white

5.83
#9142AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9142AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142AF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142AF#FFFFFF#000000##FFFFFF
##9142AF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B2
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#8F5572
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9142af;
/* rgb */ color: rgb(145, 66, 175);
/* oklch */ color: oklch(52.8% 0.177 315.5);
Tailwind
colors: {
  custom: {
    50: '#b47bc7',
    500: '#9142af',
    950: '#000000',
  },
}
SCSS
$custom: #9142af;
$custom-light: #b47bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9142af",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 283.486,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5285,
    "c": 0.17675,
    "h": 315.5
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#9142AF
secondary
#9AC28A
accent
#D55377
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #9142AF

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

Preview Lab → · Contrast checker → · Palette generator →

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