#9A48BF#9A48BF

#9A48BF is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.7% C 0.188 H 313.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9A48BF
RGBrgb(154, 72, 191)
HSLhsl(281, 48%, 52%)
HSVhsv(281, 62%, 75%)
CMYKcmyk(19.4%, 62.3%, 0%, 25.1%)
CIE-LABlab(46.00, 53.32, -48.34)
CIE-LCHlch(46.00, 71.97, 317.81°)
OKLaboklab(55.74% 0.13 -0.1358)
OKLCHoklch(55.74% 0.188 313.8)
XYZxyz(25.0462, 15.2671, 50.9076)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48BF #6DBF48
analogous
#5F48BF #9A48BF #BF48A8
triadic
#9A48BF #BF9A48 #48BF9A
tetradic
#9A48BF #BF5F48 #6DBF48 #48A8BF
square
#9A48BF #BF5F48 #6DBF48 #48A8BF
split-complementary
#9A48BF #A8BF48 #48BF5F
monochromatic
#532468 #773496 #9A48BF #B375CF #CCA3DF

Accessibility & contrast

On white

5.18
#9A48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9A48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48BF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48BF#FFFFFF#000000##FFFFFF
##9A48BF1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#975E7D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9a48bf;
/* rgb */ color: rgb(154, 72, 191);
/* oklch */ color: oklch(55.7% 0.188 313.8);
Tailwind
colors: {
  custom: {
    50: '#bb80d3',
    500: '#9a48bf',
    950: '#000000',
  },
}
SCSS
$custom: #9a48bf;
$custom-light: #bb80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48bf",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 281.345,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.18796,
    "h": 313.8
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#9A48BF
secondary
#A8CC97
accent
#D8507A
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9A48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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