#9140D4#9140D4

#9140D4 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.1% C 0.217 H 305.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9140D4
RGBrgb(145, 64, 212)
HSLhsl(273, 63%, 54%)
HSVhsv(273, 70%, 83%)
CMYKcmyk(31.6%, 69.8%, 0%, 16.9%)
CIE-LABlab(44.86, 59.70, -62.37)
CIE-LCHlch(44.86, 86.34, 313.75°)
OKLaboklab(55.11% 0.1256 -0.1772)
OKLCHoklch(55.11% 0.217 305.3)
XYZxyz(25.3915, 14.4402, 63.7242)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140D4 #83D440
analogous
#4740D4 #9140D4 #D440CD
triadic
#9140D4 #D49140 #40D491
tetradic
#9140D4 #D44740 #83D440 #40CDD4
square
#9140D4 #D44740 #83D440 #40CDD4
split-complementary
#9140D4 #CDD440 #40D447
monochromatic
#511C7D #7227AF #9140D4 #AE72DF #CBA4EA

Accessibility & contrast

On white

5.40
#9140D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9140D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140D4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140D4#FFFFFF#000000##FFFFFF
##9140D41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#856286
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9140d4;
/* rgb */ color: rgb(145, 64, 212);
/* oklch */ color: oklch(55.1% 0.217 305.3);
Tailwind
colors: {
  custom: {
    50: '#b67be2',
    500: '#9140d4',
    950: '#000000',
  },
}
SCSS
$custom: #9140d4;
$custom-light: #b67be2;
$custom-dark: #000000;
JSON
{
  "hex": "#9140d4",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 212
  },
  "hsl": {
    "h": 272.838,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55109,
    "c": 0.21716,
    "h": 305.3
  },
  "luminance": 0.1444
}

Semantic roles & 50–950 ramp

primary
#9140D4
secondary
#B5D798
accent
#E6428C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9140D4

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

Preview Lab → · Contrast checker → · Palette generator →

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