#9A48DB#9A48DB

#9A48DB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.217 H 306.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9A48DB
RGBrgb(154, 72, 219)
HSLhsl(273, 67%, 57%)
HSVhsv(273, 67%, 86%)
CMYKcmyk(29.7%, 67.1%, 0%, 14.1%)
CIE-LABlab(47.78, 59.48, -61.59)
CIE-LCHlch(47.78, 85.62, 314.00°)
OKLaboklab(57.59% 0.1283 -0.1746)
OKLCHoklch(57.59% 0.217 306.3)
XYZxyz(28.4272, 16.6195, 68.7144)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48DB #89DB48
analogous
#5148DB #9A48DB #DB48D3
triadic
#9A48DB #DB9A48 #48DB9A
tetradic
#9A48DB #DB5148 #89DB48 #48D3DB
square
#9A48DB #DB5148 #89DB48 #48D3DB
split-complementary
#9A48DB #D3DB48 #48DB51
monochromatic
#5B1C8D #7C26C0 #9A48DB #B67BE5 #D2AEEF

Accessibility & contrast

On white

4.86
#9A48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9A48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48DB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48DB#FFFFFF#000000##FFFFFF
##9A48DB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#1E72D8
Tritanopia (blue-blind)
#8F688C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a48db;
/* rgb */ color: rgb(154, 72, 219);
/* oklch */ color: oklch(57.6% 0.217 306.3);
Tailwind
colors: {
  custom: {
    50: '#bc81e7',
    500: '#9a48db',
    950: '#000000',
  },
}
SCSS
$custom: #9a48db;
$custom-light: #bc81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48db",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 273.469,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.21668,
    "h": 306.3
  },
  "luminance": 0.16619
}

Semantic roles & 50–950 ramp

primary
#9A48DB
secondary
#BCDDA2
accent
#EA3E8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9A48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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