#9142BA#9142BA

#9142BA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.188 H 312.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9142BA
RGBrgb(145, 66, 186)
HSLhsl(280, 48%, 49%)
HSVhsv(280, 65%, 73%)
CMYKcmyk(22%, 64.5%, 0%, 27.1%)
CIE-LABlab(43.45, 52.99, -49.56)
CIE-LCHlch(43.45, 72.55, 316.91°)
OKLaboklab(53.55% 0.1259 -0.1396)
OKLCHoklch(53.55% 0.188 312)
XYZxyz(22.4866, 13.4619, 47.8587)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142BA #6BBA42
analogous
#5542BA #9142BA #BA42A7
triadic
#9142BA #BA9142 #42BA91
tetradic
#9142BA #BA5542 #6BBA42 #42A7BA
square
#9142BA #BA5542 #6BBA42 #42A7BA
split-complementary
#9142BA #A7BA42 #42BA55
monochromatic
#4B2260 #6E328D #9142BA #AB6ECB #C59BDB

Accessibility & contrast

On white

5.69
#9142BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9142BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142BA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142BA#FFFFFF#000000##FFFFFF
##9142BA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#3868B7
Tritanopia (blue-blind)
#8C5978
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9142ba;
/* rgb */ color: rgb(145, 66, 186);
/* oklch */ color: oklch(53.5% 0.188 312.0);
Tailwind
colors: {
  custom: {
    50: '#b57bcf',
    500: '#9142ba',
    950: '#000000',
  },
}
SCSS
$custom: #9142ba;
$custom-light: #b57bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9142ba",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 279.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.18799,
    "h": 312
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#9142BA
secondary
#A3C890
accent
#D7517F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9142BA

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

Preview Lab → · Contrast checker → · Palette generator →

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