#9151C4#9151C4

#9151C4 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.177 H 307.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9151C4
RGBrgb(145, 81, 196)
HSLhsl(273, 49%, 54%)
HSVhsv(273, 59%, 77%)
CMYKcmyk(26%, 58.7%, 0%, 23.1%)
CIE-LABlab(46.83, 47.74, -49.97)
CIE-LCHlch(46.83, 69.11, 313.69°)
OKLaboklab(56.2% 0.1073 -0.1409)
OKLCHoklch(56.2% 0.177 307.3)
XYZxyz(24.5812, 15.8904, 53.9861)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151C4 #84C451
analogous
#5851C4 #9151C4 #C451BE
triadic
#9151C4 #C49151 #51C491
tetradic
#9151C4 #C45851 #84C451 #51BEC4
square
#9151C4 #C45851 #84C451 #51BEC4
split-complementary
#9151C4 #BEC451 #51C458
monochromatic
#522773 #7237A1 #9151C4 #AE7FD3 #CBACE3

Accessibility & contrast

On white

5.03
#9151C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9151C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151C4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151C4#FFFFFF#000000##FFFFFF
##9151C41.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236DC8
Deuteranopia (green-blind)
#3F70C1
Tritanopia (blue-blind)
#896783
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9151c4;
/* rgb */ color: rgb(145, 81, 196);
/* oklch */ color: oklch(56.2% 0.177 307.3);
Tailwind
colors: {
  custom: {
    50: '#b485d6',
    500: '#9151c4',
    950: '#000000',
  },
}
SCSS
$custom: #9151c4;
$custom-light: #b485d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9151c4",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 273.391,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56199,
    "c": 0.17709,
    "h": 307.3
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#9151C4
secondary
#B6D1A0
accent
#D94F8C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #9151C4

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

Preview Lab → · Contrast checker → · Palette generator →

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