#9140BB#9140BB

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

Color values

HEX#9140BB
RGBrgb(145, 64, 187)
HSLhsl(280, 49%, 49%)
HSVhsv(280, 66%, 73%)
CMYKcmyk(22.5%, 65.8%, 0%, 26.7%)
CIE-LABlab(43.17, 54.14, -50.59)
CIE-LCHlch(43.17, 74.10, 316.94°)
OKLaboklab(53.37% 0.1282 -0.1426)
OKLCHoklch(53.37% 0.192 311.9)
XYZxyz(22.4785, 13.2750, 48.3823)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140BB #6ABB40
analogous
#5440BB #9140BB #BB40A8
triadic
#9140BB #BB9140 #40BB91
tetradic
#9140BB #BB5440 #6ABB40 #40A8BB
square
#9140BB #BB5440 #6ABB40 #40A8BB
split-complementary
#9140BB #A8BB40 #40BB54
monochromatic
#4A2160 #6E308D #9140BB #AB6CCD #C599DC

Accessibility & contrast

On white

5.75
#9140BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9140BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140BB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140BB#FFFFFF#000000##FFFFFF
##9140BB1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3468B8
Tritanopia (blue-blind)
#8C5978
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9140bb;
/* rgb */ color: rgb(145, 64, 187);
/* oklch */ color: oklch(53.4% 0.192 311.9);
Tailwind
colors: {
  custom: {
    50: '#b57ad0',
    500: '#9140bb',
    950: '#000000',
  },
}
SCSS
$custom: #9140bb;
$custom-light: #b57ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9140bb",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 279.512,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5337,
    "c": 0.19175,
    "h": 311.9
  },
  "luminance": 0.13274
}

Semantic roles & 50–950 ramp

primary
#9140BB
secondary
#A2C88F
accent
#D94F7E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9140BB

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

Preview Lab → · Contrast checker → · Palette generator →

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