#9D48E5#9D48E5

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

Color values

HEX#9D48E5
RGBrgb(157, 72, 229)
HSLhsl(272, 75%, 59%)
HSVhsv(272, 69%, 90%)
CMYKcmyk(31.4%, 68.6%, 0%, 10.2%)
CIE-LABlab(48.83, 62.34, -65.54)
CIE-LCHlch(48.83, 90.45, 313.57°)
OKLaboklab(58.65% 0.131 -0.1861)
OKLCHoklch(58.65% 0.228 305.1)
XYZxyz(30.3617, 17.4602, 75.8842)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48E5 #90E548
analogous
#4F48E5 #9D48E5 #E548DF
triadic
#9D48E5 #E59D48 #48E59D
tetradic
#9D48E5 #E54F48 #90E548 #48DFE5
square
#9D48E5 #E54F48 #90E548 #48DFE5
split-complementary
#9D48E5 #DFE548 #48E54F
monochromatic
#5F169C #7F1ED2 #9D48E5 #BA7EED #D6B3F4

Accessibility & contrast

On white

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

On black

4.49
#9D48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D48E5#FFFFFF#000000##FFFFFF
##9D48E51.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0374E2
Tritanopia (blue-blind)
#906C91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d48e5;
/* rgb */ color: rgb(157, 72, 229);
/* oklch */ color: oklch(58.6% 0.228 305.1);
Tailwind
colors: {
  custom: {
    50: '#bf81ee',
    500: '#9d48e5',
    950: '#000000',
  },
}
SCSS
$custom: #9d48e5;
$custom-light: #bf81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48e5",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 272.484,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58646,
    "c": 0.22761,
    "h": 305.1
  },
  "luminance": 0.1746
}

Semantic roles & 50–950 ramp

primary
#9D48E5
secondary
#C2E3A6
accent
#F2368C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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