#9151E5#9151E5

#9151E5 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.214 H 299.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9151E5
RGBrgb(145, 81, 229)
HSLhsl(266, 74%, 61%)
HSVhsv(266, 65%, 90%)
CMYKcmyk(36.7%, 64.6%, 0%, 10.2%)
CIE-LABlab(48.96, 55.67, -65.40)
CIE-LCHlch(48.96, 85.89, 310.41°)
OKLaboklab(58.42% 0.1057 -0.1862)
OKLCHoklch(58.42% 0.214 299.6)
XYZxyz(28.7588, 17.5615, 75.9881)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151E5 #A5E551
analogous
#515BE5 #9151E5 #DB51E5
triadic
#9151E5 #E59151 #51E591
tetradic
#9151E5 #E5515B #A5E551 #51E5DB
square
#9151E5 #E5515B #A5E551 #51E5DB
split-complementary
#9151E5 #E5DB51 #5BE551
monochromatic
#5418A3 #7020D8 #9151E5 #B386ED #D4BBF5

Accessibility & contrast

On white

4.65
#9151E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9151E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9151E5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151E5#FFFFFF#000000##FFFFFF
##9151E51.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#7E7394
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9151e5;
/* rgb */ color: rgb(145, 81, 229);
/* oklch */ color: oklch(58.4% 0.214 299.6);
Tailwind
colors: {
  custom: {
    50: '#b786ee',
    500: '#9151e5',
    950: '#000000',
  },
}
SCSS
$custom: #9151e5;
$custom-light: #b786ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9151e5",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 265.946,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.21409,
    "h": 299.6
  },
  "luminance": 0.17562
}

Semantic roles & 50–950 ramp

primary
#9151E5
secondary
#CDE5AD
accent
#D60F80
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151E5

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

Preview Lab → · Contrast checker → · Palette generator →

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