#9140BE#9140BE

#9140BE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.6% C 0.195 H 311.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9140BE
RGBrgb(145, 64, 190)
HSLhsl(279, 50%, 50%)
HSVhsv(279, 66%, 75%)
CMYKcmyk(23.7%, 66.3%, 0%, 25.5%)
CIE-LABlab(43.37, 54.79, -52.04)
CIE-LCHlch(43.37, 75.57, 316.48°)
OKLaboklab(53.57% 0.128 -0.1468)
OKLCHoklch(53.57% 0.195 311.1)
XYZxyz(22.8030, 13.4048, 50.0914)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140BE #6DBE40
analogous
#5240BE #9140BE #BE40AC
triadic
#9140BE #BE9140 #40BE91
tetradic
#9140BE #BE5240 #6DBE40 #40ACBE
square
#9140BE #BE5240 #6DBE40 #40ACBE
split-complementary
#9140BE #ACBE40 #40BE52
monochromatic
#4B2162 #6E3190 #9140BE #AB6DCE #C69BDD

Accessibility & contrast

On white

5.71
#9140BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9140BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140BE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140BE#FFFFFF#000000##FFFFFF
##9140BE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#8B5A7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9140be;
/* rgb */ color: rgb(145, 64, 190);
/* oklch */ color: oklch(53.6% 0.195 311.1);
Tailwind
colors: {
  custom: {
    50: '#b57ad2',
    500: '#9140be',
    950: '#000000',
  },
}
SCSS
$custom: #9140be;
$custom-light: #b57ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#9140be",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 278.571,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5357,
    "c": 0.19479,
    "h": 311.1
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#9140BE
secondary
#A5C990
accent
#D94F80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9140BE

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

Preview Lab → · Contrast checker → · Palette generator →

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