#9A48D4#9A48D4

#9A48D4 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.209 H 308.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9A48D4
RGBrgb(154, 72, 212)
HSLhsl(275, 62%, 56%)
HSVhsv(275, 66%, 83%)
CMYKcmyk(27.4%, 66%, 0%, 16.9%)
CIE-LABlab(47.31, 57.90, -58.34)
CIE-LCHlch(47.31, 82.20, 314.78°)
OKLaboklab(57.11% 0.1289 -0.1651)
OKLCHoklch(57.11% 0.209 308)
XYZxyz(27.5250, 16.2586, 63.9628)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48D4 #82D448
analogous
#5448D4 #9A48D4 #D448C8
triadic
#9A48D4 #D49A48 #48D49A
tetradic
#9A48D4 #D45448 #82D448 #48C8D4
square
#9A48D4 #D45448 #82D448 #48C8D4
split-complementary
#9A48D4 #C8D448 #48D454
monochromatic
#591F83 #7B2AB4 #9A48D4 #B57AE0 #D1ABEB

Accessibility & contrast

On white

4.94
#9A48D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9A48D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48D4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48D4#FFFFFF#000000##FFFFFF
##9A48D41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#2B71D1
Tritanopia (blue-blind)
#916688
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a48d4;
/* rgb */ color: rgb(154, 72, 212);
/* oklch */ color: oklch(57.1% 0.209 308.0);
Tailwind
colors: {
  custom: {
    50: '#bc80e2',
    500: '#9a48d4',
    950: '#000000',
  },
}
SCSS
$custom: #9a48d4;
$custom-light: #bc80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48d4",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 275.143,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57111,
    "c": 0.20949,
    "h": 308
  },
  "luminance": 0.16258
}

Semantic roles & 50–950 ramp

primary
#9A48D4
secondary
#B7D99F
accent
#E54386
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A48D4

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

Preview Lab → · Contrast checker → · Palette generator →

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