#9142BC#9142BC

#9142BC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.7% C 0.190 H 311.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9142BC
RGBrgb(145, 66, 188)
HSLhsl(279, 48%, 50%)
HSVhsv(279, 65%, 74%)
CMYKcmyk(22.9%, 64.9%, 0%, 26.3%)
CIE-LABlab(43.58, 53.42, -50.53)
CIE-LCHlch(43.58, 73.54, 316.59°)
OKLaboklab(53.68% 0.1258 -0.1424)
OKLCHoklch(53.68% 0.19 311.5)
XYZxyz(22.7007, 13.5476, 48.9863)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9142BC #6DBC42
analogous
#5442BC #9142BC #BC42AA
triadic
#9142BC #BC9142 #42BC91
tetradic
#9142BC #BC5442 #6DBC42 #42AABC
square
#9142BC #BC5442 #6DBC42 #42AABC
split-complementary
#9142BC #AABC42 #42BC54
monochromatic
#4B2261 #6E328F #9142BC #AB6FCC #C69CDC

Accessibility & contrast

On white

5.66
#9142BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9142BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9142BC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9142BC#FFFFFF#000000##FFFFFF
##9142BC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#3668B9
Tritanopia (blue-blind)
#8C5A79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9142bc;
/* rgb */ color: rgb(145, 66, 188);
/* oklch */ color: oklch(53.7% 0.190 311.5);
Tailwind
colors: {
  custom: {
    50: '#b57cd1',
    500: '#9142bc',
    950: '#000000',
  },
}
SCSS
$custom: #9142bc;
$custom-light: #b57cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9142bc",
  "rgb": {
    "r": 145,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 278.852,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5368,
    "c": 0.19005,
    "h": 311.5
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#9142BC
secondary
#A5C991
accent
#D85080
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9142BC

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

Preview Lab → · Contrast checker → · Palette generator →

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