#9A48D9#9A48D9

#9A48D9 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.215 H 306.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9A48D9
RGBrgb(154, 72, 217)
HSLhsl(274, 66%, 57%)
HSVhsv(274, 67%, 85%)
CMYKcmyk(29%, 66.8%, 0%, 14.9%)
CIE-LABlab(47.64, 59.02, -60.67)
CIE-LCHlch(47.64, 84.64, 314.21°)
OKLaboklab(57.45% 0.1285 -0.1719)
OKLCHoklch(57.45% 0.215 306.8)
XYZxyz(28.1655, 16.5148, 67.3361)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48D9 #87D948
analogous
#5248D9 #9A48D9 #D948D0
triadic
#9A48D9 #D99A48 #48D99A
tetradic
#9A48D9 #D95248 #87D948 #48D0D9
square
#9A48D9 #D95248 #87D948 #48D0D9
split-complementary
#9A48D9 #D0D948 #48D952
monochromatic
#5A1D8A #7C27BD #9A48D9 #B67BE4 #D2ADEE

Accessibility & contrast

On white

4.88
#9A48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9A48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48D9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48D9#FFFFFF#000000##FFFFFF
##9A48D91.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#2272D6
Tritanopia (blue-blind)
#8F688B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a48d9;
/* rgb */ color: rgb(154, 72, 217);
/* oklch */ color: oklch(57.5% 0.215 306.8);
Tailwind
colors: {
  custom: {
    50: '#bc81e6',
    500: '#9a48d9',
    950: '#000000',
  },
}
SCSS
$custom: #9a48d9;
$custom-light: #bc81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48d9",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 273.931,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57454,
    "c": 0.21463,
    "h": 306.8
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#9A48D9
secondary
#BBDCA1
accent
#E93F89
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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