#9A48C8#9A48C8

#9A48C8 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.197 H 311.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9A48C8
RGBrgb(154, 72, 200)
HSLhsl(278, 54%, 53%)
HSVhsv(278, 64%, 78%)
CMYKcmyk(23%, 64%, 0%, 21.6%)
CIE-LABlab(46.55, 55.26, -52.67)
CIE-LCHlch(46.55, 76.34, 316.37°)
OKLaboklab(56.32% 0.1297 -0.1485)
OKLCHoklch(56.32% 0.197 311.1)
XYZxyz(26.0672, 15.6755, 56.2849)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48C8 #76C848
analogous
#5A48C8 #9A48C8 #C848B6
triadic
#9A48C8 #C89A48 #48C89A
tetradic
#9A48C8 #C85A48 #76C848 #48B6C8
square
#9A48C8 #C85A48 #76C848 #48B6C8
split-complementary
#9A48C8 #B6C848 #48C85A
monochromatic
#562373 #7931A2 #9A48C8 #B477D6 #CEA6E4

Accessibility & contrast

On white

5.08
#9A48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9A48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48C8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48C8#FFFFFF#000000##FFFFFF
##9A48C81.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#3A70C5
Tritanopia (blue-blind)
#946182
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a48c8;
/* rgb */ color: rgb(154, 72, 200);
/* oklch */ color: oklch(56.3% 0.197 311.1);
Tailwind
colors: {
  custom: {
    50: '#bb80d9',
    500: '#9a48c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a48c8;
$custom-light: #bb80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48c8",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 278.438,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56315,
    "c": 0.19717,
    "h": 311.1
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#9A48C8
secondary
#AED19A
accent
#DD4B7F
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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