#9150AF#9150AF

#9150AF is a mid, vivid purple. Relative luminance 0.149; OKLCH L 54.8% C 0.155 H 314.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9150AF
RGBrgb(145, 80, 175)
HSLhsl(281, 37%, 50%)
HSVhsv(281, 54%, 69%)
CMYKcmyk(17.1%, 54.3%, 0%, 31.4%)
CIE-LABlab(45.43, 43.51, -39.95)
CIE-LCHlch(45.43, 59.07, 317.44°)
OKLaboklab(54.79% 0.1078 -0.1116)
OKLCHoklch(54.79% 0.155 314)
XYZxyz(22.2823, 14.8528, 42.2422)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150AF #6EAF50
analogous
#6250AF #9150AF #AF509D
triadic
#9150AF #AF9150 #50AF91
tetradic
#9150AF #AF6250 #6EAF50 #509DAF
square
#9150AF #AF6250 #6EAF50 #509DAF
split-complementary
#9150AF #9DAF50 #50AF62
monochromatic
#4B2A5B #6E3D85 #9150AF #AB7AC2 #C6A4D5

Accessibility & contrast

On white

5.29
#9150AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9150AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150AF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150AF#FFFFFF#000000##FFFFFF
##9150AF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#4E6DAD
Tritanopia (blue-blind)
#8F6078
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9150af;
/* rgb */ color: rgb(145, 80, 175);
/* oklch */ color: oklch(54.8% 0.155 314.0);
Tailwind
colors: {
  custom: {
    50: '#b384c7',
    500: '#9150af',
    950: '#000000',
  },
}
SCSS
$custom: #9150af;
$custom-light: #b384c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9150af",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 281.053,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.54786,
    "c": 0.15513,
    "h": 314
  },
  "luminance": 0.14852
}

Semantic roles & 50–950 ramp

primary
#9150AF
secondary
#A6C398
accent
#CD5B7F
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9150AF

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

Preview Lab → · Contrast checker → · Palette generator →

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