#9152AF#9152AF

#9152AF is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.1% C 0.152 H 313.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9152AF
RGBrgb(145, 82, 175)
HSLhsl(281, 37%, 50%)
HSVhsv(281, 53%, 69%)
CMYKcmyk(17.1%, 53.1%, 0%, 31.4%)
CIE-LABlab(45.84, 42.44, -39.31)
CIE-LCHlch(45.84, 57.84, 317.19°)
OKLaboklab(55.09% 0.105 -0.1097)
OKLCHoklch(55.09% 0.152 313.7)
XYZxyz(22.4309, 15.1501, 42.2918)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152AF #70AF52
analogous
#6252AF #9152AF #AF529F
triadic
#9152AF #AF9152 #52AF91
tetradic
#9152AF #AF6252 #70AF52 #529FAF
square
#9152AF #AF6252 #70AF52 #529FAF
split-complementary
#9152AF #9FAF52 #52AF62
monochromatic
#4C2B5C #6F3E86 #9152AF #AC7CC2 #C6A6D6

Accessibility & contrast

On white

5.21
#9152AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9152AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152AF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152AF#FFFFFF#000000##FFFFFF
##9152AF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#4F6EAD
Tritanopia (blue-blind)
#8E6179
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9152af;
/* rgb */ color: rgb(145, 82, 175);
/* oklch */ color: oklch(55.1% 0.152 313.7);
Tailwind
colors: {
  custom: {
    50: '#b385c7',
    500: '#9152af',
    950: '#000000',
  },
}
SCSS
$custom: #9152af;
$custom-light: #b385c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9152af",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 280.645,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55086,
    "c": 0.15186,
    "h": 313.7
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#9152AF
secondary
#A7C39A
accent
#CD5B80
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9152AF

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

Preview Lab → · Contrast checker → · Palette generator →

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