#9A48EB#9A48EB

#9A48EB is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.7% C 0.233 H 302.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9A48EB
RGBrgb(154, 72, 235)
HSLhsl(270, 80%, 60%)
HSVhsv(270, 69%, 92%)
CMYKcmyk(34.5%, 69.4%, 0%, 7.8%)
CIE-LABlab(48.89, 63.13, -68.86)
CIE-LCHlch(48.89, 93.42, 312.52°)
OKLaboklab(58.74% 0.1261 -0.196)
OKLCHoklch(58.74% 0.233 302.8)
XYZxyz(30.6357, 17.5029, 80.3456)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48EB #99EB48
analogous
#4848EB #9A48EB #EB48EB
triadic
#9A48EB #EB9A48 #48EB9A
tetradic
#9A48EB #EB4848 #99EB48 #48EBEB
square
#9A48EB #EB4848 #99EB48 #48EBEB
split-complementary
#9A48EB #EBEB48 #48EB48
monochromatic
#5D12A6 #7C18DE #9A48EB #B87FF1 #D7B6F7

Accessibility & contrast

On white

4.67
#9A48EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9A48EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48EB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48EB#FFFFFF#000000##FFFFFF
##9A48EB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#8A6F95
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9a48eb;
/* rgb */ color: rgb(154, 72, 235);
/* oklch */ color: oklch(58.7% 0.233 302.8);
Tailwind
colors: {
  custom: {
    50: '#be81f2',
    500: '#9a48eb',
    950: '#000000',
  },
}
SCSS
$custom: #9a48eb;
$custom-light: #be81f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48eb",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 270.184,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58736,
    "c": 0.23308,
    "h": 302.8
  },
  "luminance": 0.17503
}

Semantic roles & 50–950 ramp

primary
#9A48EB
secondary
#C7E7A8
accent
#DD0972
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9A48EB

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

Preview Lab → · Contrast checker → · Palette generator →

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