#9A48D8#9A48D8

#9A48D8 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.214 H 307.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9A48D8
RGBrgb(154, 72, 216)
HSLhsl(274, 65%, 56%)
HSVhsv(274, 67%, 85%)
CMYKcmyk(28.7%, 66.7%, 0%, 15.3%)
CIE-LABlab(47.58, 58.80, -60.20)
CIE-LCHlch(47.58, 84.15, 314.32°)
OKLaboklab(57.39% 0.1286 -0.1706)
OKLCHoklch(57.39% 0.214 307)
XYZxyz(28.0358, 16.4630, 66.6532)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48D8 #86D848
analogous
#5248D8 #9A48D8 #D848CE
triadic
#9A48D8 #D89A48 #48D89A
tetradic
#9A48D8 #D85248 #86D848 #48CED8
square
#9A48D8 #D85248 #86D848 #48CED8
split-complementary
#9A48D8 #CED848 #48D852
monochromatic
#5A1D89 #7C28BB #9A48D8 #B67AE3 #D2ADEE

Accessibility & contrast

On white

4.89
#9A48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9A48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48D8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48D8#FFFFFF#000000##FFFFFF
##9A48D81.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#2471D5
Tritanopia (blue-blind)
#90678A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a48d8;
/* rgb */ color: rgb(154, 72, 216);
/* oklch */ color: oklch(57.4% 0.214 307.0);
Tailwind
colors: {
  custom: {
    50: '#bc81e5',
    500: '#9a48d8',
    950: '#000000',
  },
}
SCSS
$custom: #9a48d8;
$custom-light: #bc81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48d8",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 274.167,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.21361,
    "h": 307
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#9A48D8
secondary
#BADBA0
accent
#E84088
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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