#9140D7#9140D7

#9140D7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.3% C 0.220 H 304.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9140D7
RGBrgb(145, 64, 215)
HSLhsl(272, 65%, 55%)
HSVhsv(272, 70%, 84%)
CMYKcmyk(32.6%, 70.2%, 0%, 15.7%)
CIE-LABlab(45.07, 60.39, -63.74)
CIE-LCHlch(45.07, 87.80, 313.45°)
OKLaboklab(55.33% 0.1251 -0.1812)
OKLCHoklch(55.33% 0.22 304.6)
XYZxyz(25.7734, 14.5930, 65.7357)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140D7 #86D740
analogous
#4540D7 #9140D7 #D740D2
triadic
#9140D7 #D79140 #40D791
tetradic
#9140D7 #D74540 #86D740 #40D2D7
square
#9140D7 #D74540 #86D740 #40D2D7
split-complementary
#9140D7 #D2D740 #40D745
monochromatic
#521B81 #7226B4 #9140D7 #AE73E2 #CBA5EC

Accessibility & contrast

On white

5.36
#9140D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9140D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140D7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140D7#FFFFFF#000000##FFFFFF
##9140D71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#846387
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9140d7;
/* rgb */ color: rgb(145, 64, 215);
/* oklch */ color: oklch(55.3% 0.220 304.6);
Tailwind
colors: {
  custom: {
    50: '#b77be4',
    500: '#9140d7',
    950: '#000000',
  },
}
SCSS
$custom: #9140d7;
$custom-light: #b77be4;
$custom-dark: #000000;
JSON
{
  "hex": "#9140d7",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 215
  },
  "hsl": {
    "h": 272.185,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55329,
    "c": 0.22021,
    "h": 304.6
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#9140D7
secondary
#B7D99A
accent
#E83F8E
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9140D7

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

Preview Lab → · Contrast checker → · Palette generator →

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