#9140BF#9140BF

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

Color values

HEX#9140BF
RGBrgb(145, 64, 191)
HSLhsl(278, 50%, 50%)
HSVhsv(278, 66%, 75%)
CMYKcmyk(24.1%, 66.5%, 0%, 25.1%)
CIE-LABlab(43.43, 55.01, -52.52)
CIE-LCHlch(43.43, 76.06, 316.33°)
OKLaboklab(53.64% 0.1279 -0.1482)
OKLCHoklch(53.64% 0.196 310.8)
XYZxyz(22.9126, 13.4486, 50.6690)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140BF #6EBF40
analogous
#5240BF #9140BF #BF40AD
triadic
#9140BF #BF9140 #40BF91
tetradic
#9140BF #BF5240 #6EBF40 #40ADBF
square
#9140BF #BF5240 #6EBF40 #40ADBF
split-complementary
#9140BF #ADBF40 #40BF52
monochromatic
#4B2163 #6E3191 #9140BF #AB6ECE #C69CDE

Accessibility & contrast

On white

5.69
#9140BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9140BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140BF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140BF#FFFFFF#000000##FFFFFF
##9140BF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#8B5A7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9140bf;
/* rgb */ color: rgb(145, 64, 191);
/* oklch */ color: oklch(53.6% 0.196 310.8);
Tailwind
colors: {
  custom: {
    50: '#b57ad3',
    500: '#9140bf',
    950: '#000000',
  },
}
SCSS
$custom: #9140bf;
$custom-light: #b57ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#9140bf",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 278.268,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.53637,
    "c": 0.1958,
    "h": 310.8
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#9140BF
secondary
#A6CA91
accent
#D94E81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9140BF

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

Preview Lab → · Contrast checker → · Palette generator →

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