#9150E3#9150E3

#9150E3 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.213 H 300.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9150E3
RGBrgb(145, 80, 227)
HSLhsl(267, 72%, 60%)
HSVhsv(267, 65%, 89%)
CMYKcmyk(36.1%, 64.8%, 0%, 11%)
CIE-LABlab(48.64, 55.68, -64.79)
CIE-LCHlch(48.64, 85.43, 310.68°)
OKLaboklab(58.15% 0.107 -0.1844)
OKLCHoklch(58.15% 0.213 300.1)
XYZxyz(28.4074, 17.3029, 74.5013)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150E3 #A2E350
analogous
#5058E3 #9150E3 #DB50E3
triadic
#9150E3 #E39150 #50E391
tetradic
#9150E3 #E35058 #A2E350 #50E3DB
square
#9150E3 #E35058 #A2E350 #50E3DB
split-complementary
#9150E3 #E3DB50 #58E350
monochromatic
#55199F #7122D4 #9150E3 #B285EB #D3BAF4

Accessibility & contrast

On white

4.71
#9150E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9150E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150E3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150E3#FFFFFF#000000##FFFFFF
##9150E31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#0072E0
Tritanopia (blue-blind)
#7F7193
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9150e3;
/* rgb */ color: rgb(145, 80, 227);
/* oklch */ color: oklch(58.1% 0.213 300.1);
Tailwind
colors: {
  custom: {
    50: '#b785ed',
    500: '#9150e3',
    950: '#000000',
  },
}
SCSS
$custom: #9150e3;
$custom-light: #b785ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9150e3",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 266.531,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58148,
    "c": 0.21316,
    "h": 300.1
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#9150E3
secondary
#CBE4AB
accent
#D4117E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9150E3

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

Preview Lab → · Contrast checker → · Palette generator →

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