#9A48D0#9A48D0

#9A48D0 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.205 H 309.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9A48D0
RGBrgb(154, 72, 208)
HSLhsl(276, 59%, 55%)
HSVhsv(276, 65%, 82%)
CMYKcmyk(26%, 65.4%, 0%, 18.4%)
CIE-LABlab(47.05, 57.02, -56.47)
CIE-LCHlch(47.05, 80.25, 315.28°)
OKLaboklab(56.84% 0.1293 -0.1596)
OKLCHoklch(56.84% 0.205 309)
XYZxyz(27.0267, 16.0593, 61.3383)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48D0 #7ED048
analogous
#5648D0 #9A48D0 #D048C2
triadic
#9A48D0 #D09A48 #48D09A
tetradic
#9A48D0 #D05648 #7ED048 #48C2D0
square
#9A48D0 #D05648 #7ED048 #48C2D0
split-complementary
#9A48D0 #C2D048 #48D056
monochromatic
#58207D #7B2DAE #9A48D0 #B579DD #D0A9E9

Accessibility & contrast

On white

4.99
#9A48D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9A48D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48D0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48D0#FFFFFF#000000##FFFFFF
##9A48D01.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#3171CD
Tritanopia (blue-blind)
#926486
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a48d0;
/* rgb */ color: rgb(154, 72, 208);
/* oklch */ color: oklch(56.8% 0.205 309.0);
Tailwind
colors: {
  custom: {
    50: '#bc80df',
    500: '#9a48d0',
    950: '#000000',
  },
}
SCSS
$custom: #9a48d0;
$custom-light: #bc80df;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48d0",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 276.176,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56842,
    "c": 0.20538,
    "h": 309
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#9A48D0
secondary
#B4D79D
accent
#E24584
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A48D0

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

Preview Lab → · Contrast checker → · Palette generator →

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