#9139C4#9139C4

#9139C4 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.210 H 310.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9139C4
RGBrgb(145, 57, 196)
HSLhsl(278, 55%, 50%)
HSVhsv(278, 71%, 77%)
CMYKcmyk(26%, 70.9%, 0%, 23.1%)
CIE-LABlab(42.66, 59.19, -56.67)
CIE-LCHlch(42.66, 81.95, 316.24°)
OKLaboklab(53.19% 0.1349 -0.1604)
OKLCHoklch(53.19% 0.21 310.1)
XYZxyz(23.1020, 12.9320, 53.4930)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9139C4 #6CC439
analogous
#4C39C4 #9139C4 #C439B1
triadic
#9139C4 #C49139 #39C491
tetradic
#9139C4 #C44C39 #6CC439 #39B1C4
square
#9139C4 #C44C39 #6CC439 #39B1C4
split-complementary
#9139C4 #B1C439 #39C44C
monochromatic
#4B1D65 #6E2B95 #9139C4 #AB67D3 #C697E1

Accessibility & contrast

On white

5.86
#9139C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9139C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9139C4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9139C4#FFFFFF#000000##FFFFFF
##9139C41.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#1F66C1
Tritanopia (blue-blind)
#8A587B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9139c4;
/* rgb */ color: rgb(145, 57, 196);
/* oklch */ color: oklch(53.2% 0.210 310.1);
Tailwind
colors: {
  custom: {
    50: '#b677d7',
    500: '#9139c4',
    950: '#000000',
  },
}
SCSS
$custom: #9139c4;
$custom-light: #b677d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9139c4",
  "rgb": {
    "r": 145,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 277.986,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.20959,
    "h": 310.1
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#9139C4
secondary
#A4CC8D
accent
#DE4A80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9139C4

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

Preview Lab → · Contrast checker → · Palette generator →

#9139C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva