#9151AF#9151AF

#9151AF is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.9% C 0.153 H 313.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9151AF
RGBrgb(145, 81, 175)
HSLhsl(281, 37%, 50%)
HSVhsv(281, 54%, 69%)
CMYKcmyk(17.1%, 53.7%, 0%, 31.4%)
CIE-LABlab(45.63, 42.98, -39.63)
CIE-LCHlch(45.63, 58.46, 317.32°)
OKLaboklab(54.94% 0.1064 -0.1106)
OKLCHoklch(54.94% 0.154 313.9)
XYZxyz(22.3561, 15.0003, 42.2668)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151AF #6FAF51
analogous
#6251AF #9151AF #AF519E
triadic
#9151AF #AF9151 #51AF91
tetradic
#9151AF #AF6251 #6FAF51 #519EAF
square
#9151AF #AF6251 #6FAF51 #519EAF
split-complementary
#9151AF #9EAF51 #51AF62
monochromatic
#4C2A5C #6E3D85 #9151AF #AC7BC2 #C6A5D6

Accessibility & contrast

On white

5.25
#9151AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9151AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151AF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151AF#FFFFFF#000000##FFFFFF
##9151AF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B2
Deuteranopia (green-blind)
#4E6EAD
Tritanopia (blue-blind)
#8E6078
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9151af;
/* rgb */ color: rgb(145, 81, 175);
/* oklch */ color: oklch(54.9% 0.153 313.9);
Tailwind
colors: {
  custom: {
    50: '#b384c7',
    500: '#9151af',
    950: '#000000',
  },
}
SCSS
$custom: #9151af;
$custom-light: #b384c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9151af",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 280.851,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54936,
    "c": 0.1535,
    "h": 313.9
  },
  "luminance": 0.15
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9151AF

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

Preview Lab → · Contrast checker → · Palette generator →

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