#9A48BE#9A48BE

#9A48BE is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.187 H 314.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9A48BE
RGBrgb(154, 72, 190)
HSLhsl(282, 48%, 51%)
HSVhsv(282, 62%, 75%)
CMYKcmyk(18.9%, 62.1%, 0%, 25.5%)
CIE-LABlab(45.94, 53.11, -47.85)
CIE-LCHlch(45.94, 71.49, 317.98°)
OKLaboklab(55.68% 0.13 -0.1343)
OKLCHoklch(55.68% 0.187 314.1)
XYZxyz(24.9365, 15.2232, 50.3300)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48BE #6CBE48
analogous
#5F48BE #9A48BE #BE48A7
triadic
#9A48BE #BE9A48 #48BE9A
tetradic
#9A48BE #BE5F48 #6CBE48 #48A7BE
square
#9A48BE #BE5F48 #6CBE48 #48A7BE
split-complementary
#9A48BE #A7BE48 #48BE5F
monochromatic
#532567 #773594 #9A48BE #B375CE #CCA2DE

Accessibility & contrast

On white

5.19
#9A48BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9A48BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48BE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48BE#FFFFFF#000000##FFFFFF
##9A48BE1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#975E7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a48be;
/* rgb */ color: rgb(154, 72, 190);
/* oklch */ color: oklch(55.7% 0.187 314.1);
Tailwind
colors: {
  custom: {
    50: '#bb80d2',
    500: '#9a48be',
    950: '#000000',
  },
}
SCSS
$custom: #9a48be;
$custom-light: #bb80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48be",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 281.695,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.18695,
    "h": 314.1
  },
  "luminance": 0.15222
}

Semantic roles & 50–950 ramp

primary
#9A48BE
secondary
#A7CB97
accent
#D7517A
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9A48BE

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

Preview Lab → · Contrast checker → · Palette generator →

#9A48BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva