#9A48BC#9A48BC

#9A48BC is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.185 H 314.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9A48BC
RGBrgb(154, 72, 188)
HSLhsl(282, 46%, 51%)
HSVhsv(282, 62%, 74%)
CMYKcmyk(18.1%, 61.7%, 0%, 26.3%)
CIE-LABlab(45.82, 52.69, -46.87)
CIE-LCHlch(45.82, 70.52, 318.34°)
OKLaboklab(55.56% 0.13 -0.1315)
OKLCHoklch(55.56% 0.185 314.7)
XYZxyz(24.7194, 15.1364, 49.1867)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48BC #6ABC48
analogous
#6048BC #9A48BC #BC48A4
triadic
#9A48BC #BC9A48 #48BC9A
tetradic
#9A48BC #BC6048 #6ABC48 #48A4BC
square
#9A48BC #BC6048 #6ABC48 #48A4BC
split-complementary
#9A48BC #A4BC48 #48BC60
monochromatic
#522565 #763592 #9A48BC #B375CC #CBA2DD

Accessibility & contrast

On white

5.21
#9A48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9A48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48BC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48BC#FFFFFF#000000##FFFFFF
##9A48BC1.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)
#2068C0
Deuteranopia (green-blind)
#456FB9
Tritanopia (blue-blind)
#975D7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9a48bc;
/* rgb */ color: rgb(154, 72, 188);
/* oklch */ color: oklch(55.6% 0.185 314.7);
Tailwind
colors: {
  custom: {
    50: '#bb80d1',
    500: '#9a48bc',
    950: '#000000',
  },
}
SCSS
$custom: #9a48bc;
$custom-light: #bb80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48bc",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 282.414,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.18491,
    "h": 314.7
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#9A48BC
secondary
#A5CA96
accent
#D65279
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9A48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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