#9150D4#9150D4

#9150D4 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.1% C 0.196 H 303.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9150D4
RGBrgb(145, 80, 212)
HSLhsl(270, 61%, 57%)
HSVhsv(270, 62%, 83%)
CMYKcmyk(31.6%, 62.3%, 0%, 16.9%)
CIE-LABlab(47.64, 52.04, -57.87)
CIE-LCHlch(47.64, 77.83, 311.96°)
OKLaboklab(57.11% 0.1081 -0.1641)
OKLCHoklch(57.11% 0.196 303.4)
XYZxyz(26.4267, 16.5106, 64.0692)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150D4 #93D450
analogous
#5051D4 #9150D4 #D350D4
triadic
#9150D4 #D49150 #50D491
tetradic
#9150D4 #D45051 #93D450 #50D4D3
square
#9150D4 #D45051 #93D450 #50D4D3
split-complementary
#9150D4 #D4D350 #51D450
monochromatic
#542188 #722EB9 #9150D4 #B081E0 #CFB2EC

Accessibility & contrast

On white

4.88
#9150D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9150D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150D4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150D4#FFFFFF#000000##FFFFFF
##9150D41.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#2A71D1
Tritanopia (blue-blind)
#846C8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9150d4;
/* rgb */ color: rgb(145, 80, 212);
/* oklch */ color: oklch(57.1% 0.196 303.4);
Tailwind
colors: {
  custom: {
    50: '#b684e2',
    500: '#9150d4',
    950: '#000000',
  },
}
SCSS
$custom: #9150d4;
$custom-light: #b684e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9150d4",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 269.545,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57106,
    "c": 0.19649,
    "h": 303.4
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#9150D4
secondary
#C0DBA5
accent
#E44495
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9150D4

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

Preview Lab → · Contrast checker → · Palette generator →

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