#9140BD#9140BD

#9140BD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.5% C 0.194 H 311.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9140BD
RGBrgb(145, 64, 189)
HSLhsl(279, 49%, 50%)
HSVhsv(279, 66%, 74%)
CMYKcmyk(23.3%, 66.1%, 0%, 25.9%)
CIE-LABlab(43.30, 54.58, -51.56)
CIE-LCHlch(43.30, 75.08, 316.63°)
OKLaboklab(53.5% 0.1281 -0.1454)
OKLCHoklch(53.5% 0.194 311.4)
XYZxyz(22.6941, 13.3612, 49.5177)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140BD #6CBD40
analogous
#5340BD #9140BD #BD40AB
triadic
#9140BD #BD9140 #40BD91
tetradic
#9140BD #BD5340 #6CBD40 #40ABBD
square
#9140BD #BD5340 #6CBD40 #40ABBD
split-complementary
#9140BD #ABBD40 #40BD53
monochromatic
#4B2162 #6E318F #9140BD #AB6DCD #C69ADD

Accessibility & contrast

On white

5.72
#9140BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9140BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140BD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140BD#FFFFFF#000000##FFFFFF
##9140BD1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#8C5979
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9140bd;
/* rgb */ color: rgb(145, 64, 189);
/* oklch */ color: oklch(53.5% 0.194 311.4);
Tailwind
colors: {
  custom: {
    50: '#b57ad1',
    500: '#9140bd',
    950: '#000000',
  },
}
SCSS
$custom: #9140bd;
$custom-light: #b57ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#9140bd",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 278.88,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.19378,
    "h": 311.4
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9140BD

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

Preview Lab → · Contrast checker → · Palette generator →

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