#9140BC#9140BC

#9140BC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.4% C 0.193 H 311.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9140BC
RGBrgb(145, 64, 188)
HSLhsl(279, 49%, 49%)
HSVhsv(279, 66%, 74%)
CMYKcmyk(22.9%, 66%, 0%, 26.3%)
CIE-LABlab(43.24, 54.36, -51.08)
CIE-LCHlch(43.24, 74.59, 316.78°)
OKLaboklab(53.44% 0.1281 -0.144)
OKLCHoklch(53.44% 0.193 311.7)
XYZxyz(22.5859, 13.3179, 48.9480)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140BC #6BBC40
analogous
#5340BC #9140BC #BC40A9
triadic
#9140BC #BC9140 #40BC91
tetradic
#9140BC #BC5340 #6BBC40 #40A9BC
square
#9140BC #BC5340 #6BBC40 #40A9BC
split-complementary
#9140BC #A9BC40 #40BC53
monochromatic
#4B2161 #6E308E #9140BC #AB6CCD #C59ADD

Accessibility & contrast

On white

5.73
#9140BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9140BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140BC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140BC#FFFFFF#000000##FFFFFF
##9140BC1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#3368B9
Tritanopia (blue-blind)
#8C5979
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9140bc;
/* rgb */ color: rgb(145, 64, 188);
/* oklch */ color: oklch(53.4% 0.193 311.7);
Tailwind
colors: {
  custom: {
    50: '#b57ad1',
    500: '#9140bc',
    950: '#000000',
  },
}
SCSS
$custom: #9140bc;
$custom-light: #b57ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#9140bc",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 279.194,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.19276,
    "h": 311.7
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#9140BC
secondary
#A3C98F
accent
#D94F7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9140BC

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

Preview Lab → · Contrast checker → · Palette generator →

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