#9A48DA#9A48DA

#9A48DA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.216 H 306.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9A48DA
RGBrgb(154, 72, 218)
HSLhsl(274, 66%, 57%)
HSVhsv(274, 67%, 85%)
CMYKcmyk(29.4%, 67%, 0%, 14.5%)
CIE-LABlab(47.71, 59.25, -61.13)
CIE-LCHlch(47.71, 85.13, 314.11°)
OKLaboklab(57.52% 0.1284 -0.1733)
OKLCHoklch(57.52% 0.216 306.5)
XYZxyz(28.2960, 16.5670, 68.0232)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48DA #88DA48
analogous
#5148DA #9A48DA #DA48D1
triadic
#9A48DA #DA9A48 #48DA9A
tetradic
#9A48DA #DA5148 #88DA48 #48D1DA
square
#9A48DA #DA5148 #88DA48 #48D1DA
split-complementary
#9A48DA #D1DA48 #48DA51
monochromatic
#5B1C8B #7C26BE #9A48DA #B67BE4 #D2AEEF

Accessibility & contrast

On white

4.87
#9A48DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9A48DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48DA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48DA#FFFFFF#000000##FFFFFF
##9A48DA1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#2072D7
Tritanopia (blue-blind)
#8F688B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a48da;
/* rgb */ color: rgb(154, 72, 218);
/* oklch */ color: oklch(57.5% 0.216 306.5);
Tailwind
colors: {
  custom: {
    50: '#bc81e6',
    500: '#9a48da',
    950: '#000000',
  },
}
SCSS
$custom: #9a48da;
$custom-light: #bc81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48da",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 273.699,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.21565,
    "h": 306.5
  },
  "luminance": 0.16567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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