#9141EA#9141EA

#9141EA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.9% C 0.238 H 300.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9141EA
RGBrgb(145, 65, 234)
HSLhsl(268, 80%, 59%)
HSVhsv(268, 72%, 92%)
CMYKcmyk(38%, 72.2%, 0%, 8.2%)
CIE-LABlab(46.63, 64.36, -72.01)
CIE-LCHlch(46.63, 96.58, 311.79°)
OKLaboklab(56.88% 0.1208 -0.2055)
OKLCHoklch(56.88% 0.238 300.4)
XYZxyz(28.4150, 15.7406, 79.3672)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9141EA #9AEA41
analogous
#4145EA #9141EA #E541EA
triadic
#9141EA #EA9141 #41EA91
tetradic
#9141EA #EA4145 #9AEA41 #41EAE5
square
#9141EA #EA4145 #9AEA41 #41EAE5
split-complementary
#9141EA #EAE541 #45EA41
monochromatic
#55129F #7218D6 #9141EA #B178F0 #D1AFF6

Accessibility & contrast

On white

5.06
#9141EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9141EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9141EA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9141EA#FFFFFF#000000##FFFFFF
##9141EA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#7D6B92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9141ea;
/* rgb */ color: rgb(145, 65, 234);
/* oklch */ color: oklch(56.9% 0.238 300.4);
Tailwind
colors: {
  custom: {
    50: '#b87df2',
    500: '#9141ea',
    950: '#000000',
  },
}
SCSS
$custom: #9141ea;
$custom-light: #b87df2;
$custom-dark: #000000;
JSON
{
  "hex": "#9141ea",
  "rgb": {
    "r": 145,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 268.402,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56875,
    "c": 0.23838,
    "h": 300.4
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#9141EA
secondary
#C5E5A2
accent
#F73199
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A17
muted
#817C85

Preview Lab

Preview with #9141EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9141EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva