#9142BE#9142BE

#9142BE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.8% C 0.192 H 310.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9142BE
RGBrgb(145, 66, 190)
HSLhsl(278, 49%, 50%)
HSVhsv(278, 65%, 75%)
CMYKcmyk(23.7%, 65.3%, 0%, 25.5%)
CIE-LABlab(43.70, 53.86, -51.50)
CIE-LCHlch(43.70, 74.52, 316.29°)
OKLaboklab(53.81% 0.1257 -0.1453)
OKLCHoklch(53.81% 0.192 310.9)
XYZxyz(22.9178, 13.6344, 50.1296)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142BE #6FBE42
analogous
#5342BE #9142BE #BE42AD
triadic
#9142BE #BE9142 #42BE91
tetradic
#9142BE #BE5342 #6FBE42 #42ADBE
square
#9142BE #BE5342 #6FBE42 #42ADBE
split-complementary
#9142BE #ADBE42 #42BE53
monochromatic
#4C2263 #6E3291 #9142BE #AC70CE #C69DDD

Accessibility & contrast

On white

5.63
#9142BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9142BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142BE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142BE#FFFFFF#000000##FFFFFF
##9142BE1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#3369BB
Tritanopia (blue-blind)
#8B5B7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9142be;
/* rgb */ color: rgb(145, 66, 190);
/* oklch */ color: oklch(53.8% 0.192 310.9);
Tailwind
colors: {
  custom: {
    50: '#b57cd2',
    500: '#9142be',
    950: '#000000',
  },
}
SCSS
$custom: #9142be;
$custom-light: #b57cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9142be",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 278.226,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53812,
    "c": 0.1921,
    "h": 310.9
  },
  "luminance": 0.13634
}

Semantic roles & 50–950 ramp

primary
#9142BE
secondary
#A6CA92
accent
#D84F81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9142BE

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

Preview Lab → · Contrast checker → · Palette generator →

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