#9150D5#9150D5

#9150D5 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.2% C 0.198 H 303.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9150D5
RGBrgb(145, 80, 213)
HSLhsl(269, 61%, 57%)
HSVhsv(269, 62%, 84%)
CMYKcmyk(31.9%, 62.4%, 0%, 16.5%)
CIE-LABlab(47.70, 52.28, -58.34)
CIE-LCHlch(47.70, 78.34, 311.86°)
OKLaboklab(57.17% 0.1081 -0.1654)
OKLCHoklch(57.17% 0.198 303.2)
XYZxyz(26.5532, 16.5612, 64.7356)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150D5 #94D550
analogous
#5052D5 #9150D5 #D350D5
triadic
#9150D5 #D59150 #50D591
tetradic
#9150D5 #D55052 #94D550 #50D5D3
square
#9150D5 #D55052 #94D550 #50D5D3
split-complementary
#9150D5 #D5D350 #52D550
monochromatic
#54218A #722DBB #9150D5 #B081E1 #CFB3ED

Accessibility & contrast

On white

4.87
#9150D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9150D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150D5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150D5#FFFFFF#000000##FFFFFF
##9150D51.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#2871D2
Tritanopia (blue-blind)
#846C8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9150d5;
/* rgb */ color: rgb(145, 80, 213);
/* oklch */ color: oklch(57.2% 0.198 303.2);
Tailwind
colors: {
  custom: {
    50: '#b684e3',
    500: '#9150d5',
    950: '#000000',
  },
}
SCSS
$custom: #9150d5;
$custom-light: #b684e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9150d5",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 213
  },
  "hsl": {
    "h": 269.323,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57174,
    "c": 0.1976,
    "h": 303.2
  },
  "luminance": 0.16561
}

Semantic roles & 50–950 ramp

primary
#9150D5
secondary
#C1DBA6
accent
#E44396
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9150D5

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

Preview Lab → · Contrast checker → · Palette generator →

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