#9142BD#9142BD

#9142BD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.7% C 0.191 H 311.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9142BD
RGBrgb(145, 66, 189)
HSLhsl(279, 48%, 50%)
HSVhsv(279, 65%, 74%)
CMYKcmyk(23.3%, 65.1%, 0%, 25.9%)
CIE-LABlab(43.64, 53.64, -51.01)
CIE-LCHlch(43.64, 74.03, 316.44°)
OKLaboklab(53.75% 0.1258 -0.1438)
OKLCHoklch(53.75% 0.191 311.2)
XYZxyz(22.8089, 13.5908, 49.5560)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142BD #6EBD42
analogous
#5442BD #9142BD #BD42AB
triadic
#9142BD #BD9142 #42BD91
tetradic
#9142BD #BD5442 #6EBD42 #42ABBD
square
#9142BD #BD5442 #6EBD42 #42ABBD
split-complementary
#9142BD #ABBD42 #42BD54
monochromatic
#4B2262 #6E3290 #9142BD #AB6FCD #C69DDD

Accessibility & contrast

On white

5.65
#9142BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9142BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142BD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142BD#FFFFFF#000000##FFFFFF
##9142BD1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#3469BA
Tritanopia (blue-blind)
#8C5B7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9142bd;
/* rgb */ color: rgb(145, 66, 189);
/* oklch */ color: oklch(53.7% 0.191 311.2);
Tailwind
colors: {
  custom: {
    50: '#b57cd1',
    500: '#9142bd',
    950: '#000000',
  },
}
SCSS
$custom: #9142bd;
$custom-light: #b57cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9142bd",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 278.537,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.53746,
    "c": 0.19107,
    "h": 311.2
  },
  "luminance": 0.1359
}

Semantic roles & 50–950 ramp

primary
#9142BD
secondary
#A6C992
accent
#D85081
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9142BD

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

Preview Lab → · Contrast checker → · Palette generator →

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