#9150E1#9150E1

#9150E1 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.211 H 300.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9150E1
RGBrgb(145, 80, 225)
HSLhsl(267, 71%, 60%)
HSVhsv(267, 64%, 88%)
CMYKcmyk(35.6%, 64.4%, 0%, 11.8%)
CIE-LABlab(48.50, 55.19, -63.88)
CIE-LCHlch(48.50, 84.42, 310.83°)
OKLaboklab(58.01% 0.1072 -0.1817)
OKLCHoklch(58.01% 0.211 300.5)
XYZxyz(28.1330, 17.1931, 73.0560)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150E1 #A0E150
analogous
#5057E1 #9150E1 #DA50E1
triadic
#9150E1 #E19150 #50E191
tetradic
#9150E1 #E15057 #A0E150 #50E1DA
square
#9150E1 #E15057 #A0E150 #50E1DA
split-complementary
#9150E1 #E1DA50 #57E150
monochromatic
#551B9C #7124D0 #9150E1 #B284EA #D3B8F3

Accessibility & contrast

On white

4.73
#9150E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9150E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150E1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150E1#FFFFFF#000000##FFFFFF
##9150E11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0572DE
Tritanopia (blue-blind)
#807192
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9150e1;
/* rgb */ color: rgb(145, 80, 225);
/* oklch */ color: oklch(58.0% 0.211 300.5);
Tailwind
colors: {
  custom: {
    50: '#b785eb',
    500: '#9150e1',
    950: '#000000',
  },
}
SCSS
$custom: #9150e1;
$custom-light: #b785eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9150e1",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 266.897,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.21095,
    "h": 300.5
  },
  "luminance": 0.17193
}

Semantic roles & 50–950 ramp

primary
#9150E1
secondary
#C9E2AA
accent
#ED3A9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9150E1

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

Preview Lab → · Contrast checker → · Palette generator →

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