#9142BF#9142BF

#9142BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.9% C 0.193 H 310.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9142BF
RGBrgb(145, 66, 191)
HSLhsl(278, 49%, 50%)
HSVhsv(278, 65%, 75%)
CMYKcmyk(24.1%, 65.4%, 0%, 25.1%)
CIE-LABlab(43.77, 54.08, -51.98)
CIE-LCHlch(43.77, 75.01, 316.14°)
OKLaboklab(53.88% 0.1256 -0.1467)
OKLCHoklch(53.88% 0.193 310.6)
XYZxyz(23.0274, 13.6783, 50.7072)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142BF #70BF42
analogous
#5242BF #9142BF #BF42AE
triadic
#9142BF #BF9142 #42BF91
tetradic
#9142BF #BF5242 #70BF42 #42AEBF
square
#9142BF #BF5242 #70BF42 #42AEBF
split-complementary
#9142BF #AEBF42 #42BF52
monochromatic
#4C2265 #6F3292 #9142BF #AC70CE #C69DDE

Accessibility & contrast

On white

5.62
#9142BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9142BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142BF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142BF#FFFFFF#000000##FFFFFF
##9142BF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#8B5B7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9142bf;
/* rgb */ color: rgb(145, 66, 191);
/* oklch */ color: oklch(53.9% 0.193 310.6);
Tailwind
colors: {
  custom: {
    50: '#b57cd3',
    500: '#9142bf',
    950: '#000000',
  },
}
SCSS
$custom: #9142bf;
$custom-light: #b57cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9142bf",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 277.92,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.19313,
    "h": 310.6
  },
  "luminance": 0.13678
}

Semantic roles & 50–950 ramp

primary
#9142BF
secondary
#A7CA93
accent
#D94F82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9142BF

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

Preview Lab → · Contrast checker → · Palette generator →

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