#9A48EE#9A48EE

#9A48EE is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.0% C 0.236 H 302.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9A48EE
RGBrgb(154, 72, 238)
HSLhsl(270, 83%, 61%)
HSVhsv(270, 70%, 93%)
CMYKcmyk(35.3%, 69.7%, 0%, 6.7%)
CIE-LABlab(49.10, 63.83, -70.19)
CIE-LCHlch(49.10, 94.87, 312.28°)
OKLaboklab(58.96% 0.1257 -0.1999)
OKLCHoklch(58.96% 0.236 302.1)
XYZxyz(31.0727, 17.6777, 82.6475)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48EE #9CEE48
analogous
#4849EE #9A48EE #ED48EE
triadic
#9A48EE #EE9A48 #48EE9A
tetradic
#9A48EE #EE4849 #9CEE48 #48EEED
square
#9A48EE #EE4849 #9CEE48 #48EEED
split-complementary
#9A48EE #EEED48 #49EE48
monochromatic
#5D10AC #7B15E4 #9A48EE #B980F3 #D8B8F8

Accessibility & contrast

On white

4.63
#9A48EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9A48EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48EE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48EE#FFFFFF#000000##FFFFFF
##9A48EE1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#887096
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9a48ee;
/* rgb */ color: rgb(154, 72, 238);
/* oklch */ color: oklch(59.0% 0.236 302.1);
Tailwind
colors: {
  custom: {
    50: '#be81f5',
    500: '#9a48ee',
    950: '#000000',
  },
}
SCSS
$custom: #9a48ee;
$custom-light: #be81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48ee",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 238
  },
  "hsl": {
    "h": 269.639,
    "s": 83,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58957,
    "c": 0.23615,
    "h": 302.1
  },
  "luminance": 0.17678
}

Semantic roles & 50–950 ramp

primary
#9A48EE
secondary
#C9E8A9
accent
#DF0674
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A48EE

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

Preview Lab → · Contrast checker → · Palette generator →

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