#9150E5#9150E5

#9150E5 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.215 H 299.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9150E5
RGBrgb(145, 80, 229)
HSLhsl(266, 74%, 61%)
HSVhsv(266, 65%, 90%)
CMYKcmyk(36.7%, 65.1%, 0%, 10.2%)
CIE-LABlab(48.78, 56.17, -65.70)
CIE-LCHlch(48.78, 86.44, 310.53°)
OKLaboklab(58.29% 0.1068 -0.187)
OKLCHoklch(58.29% 0.215 299.7)
XYZxyz(28.6851, 17.4139, 75.9635)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150E5 #A4E550
analogous
#505AE5 #9150E5 #DB50E5
triadic
#9150E5 #E59150 #50E591
tetradic
#9150E5 #E5505A #A4E550 #50E5DB
square
#9150E5 #E5505A #A4E550 #50E5DB
split-complementary
#9150E5 #E5DB50 #5AE550
monochromatic
#5418A2 #7020D8 #9150E5 #B285ED #D4BBF5

Accessibility & contrast

On white

4.68
#9150E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9150E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150E5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150E5#FFFFFF#000000##FFFFFF
##9150E51.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9150e5;
/* rgb */ color: rgb(145, 80, 229);
/* oklch */ color: oklch(58.3% 0.215 299.7);
Tailwind
colors: {
  custom: {
    50: '#b785ee',
    500: '#9150e5',
    950: '#000000',
  },
}
SCSS
$custom: #9150e5;
$custom-light: #b785ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9150e5",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 266.174,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.21537,
    "h": 299.7
  },
  "luminance": 0.17414
}

Semantic roles & 50–950 ramp

primary
#9150E5
secondary
#CCE5AC
accent
#D60F7F
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9150E5

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

Preview Lab → · Contrast checker → · Palette generator →

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