#9150D8#9150D8

#9150D8 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.201 H 302.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9150D8
RGBrgb(145, 80, 216)
HSLhsl(269, 64%, 58%)
HSVhsv(269, 63%, 85%)
CMYKcmyk(32.9%, 63%, 0%, 15.3%)
CIE-LABlab(47.90, 53.00, -59.74)
CIE-LCHlch(47.90, 79.86, 311.58°)
OKLaboklab(57.38% 0.1079 -0.1695)
OKLCHoklch(57.38% 0.201 302.5)
XYZxyz(26.9375, 16.7149, 66.7596)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150D8 #97D850
analogous
#5053D8 #9150D8 #D550D8
triadic
#9150D8 #D89150 #50D891
tetradic
#9150D8 #D85053 #97D850 #50D8D5
square
#9150D8 #D85053 #97D850 #50D8D5
split-complementary
#9150D8 #D8D550 #53D850
monochromatic
#54208E #722BC0 #9150D8 #B082E3 #D0B4EE

Accessibility & contrast

On white

4.84
#9150D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9150D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150D8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150D8#FFFFFF#000000##FFFFFF
##9150D81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#2371D5
Tritanopia (blue-blind)
#836D8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9150d8;
/* rgb */ color: rgb(145, 80, 216);
/* oklch */ color: oklch(57.4% 0.201 302.5);
Tailwind
colors: {
  custom: {
    50: '#b685e5',
    500: '#9150d8',
    950: '#000000',
  },
}
SCSS
$custom: #9150d8;
$custom-light: #b685e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9150d8",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 216
  },
  "hsl": {
    "h": 268.676,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57379,
    "c": 0.20094,
    "h": 302.5
  },
  "luminance": 0.16715
}

Semantic roles & 50–950 ramp

primary
#9150D8
secondary
#C3DDA7
accent
#E74198
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9150D8

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

Preview Lab → · Contrast checker → · Palette generator →

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