#9140D8#9140D8

#9140D8 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.221 H 304.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9140D8
RGBrgb(145, 64, 216)
HSLhsl(272, 66%, 55%)
HSVhsv(272, 70%, 85%)
CMYKcmyk(32.9%, 70.4%, 0%, 15.3%)
CIE-LABlab(45.14, 60.62, -64.20)
CIE-LCHlch(45.14, 88.29, 313.36°)
OKLaboklab(55.4% 0.1249 -0.1826)
OKLCHoklch(55.4% 0.221 304.4)
XYZxyz(25.9023, 14.6445, 66.4145)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140D8 #87D840
analogous
#4540D8 #9140D8 #D840D3
triadic
#9140D8 #D89140 #40D891
tetradic
#9140D8 #D84540 #87D840 #40D3D8
square
#9140D8 #D84540 #87D840 #40D3D8
split-complementary
#9140D8 #D3D840 #40D845
monochromatic
#521B83 #7225B6 #9140D8 #AE73E2 #CCA6ED

Accessibility & contrast

On white

5.35
#9140D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9140D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140D8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140D8#FFFFFF#000000##FFFFFF
##9140D81.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#836488
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9140d8;
/* rgb */ color: rgb(145, 64, 216);
/* oklch */ color: oklch(55.4% 0.221 304.4);
Tailwind
colors: {
  custom: {
    50: '#b77be5',
    500: '#9140d8',
    950: '#000000',
  },
}
SCSS
$custom: #9140d8;
$custom-light: #b77be5;
$custom-dark: #000000;
JSON
{
  "hex": "#9140d8",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 216
  },
  "hsl": {
    "h": 271.974,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55402,
    "c": 0.22122,
    "h": 304.4
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#9140D8
secondary
#B8DA9A
accent
#E93F8E
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9140D8

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

Preview Lab → · Contrast checker → · Palette generator →

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