#9D48E3#9D48E3

#9D48E3 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.5% C 0.226 H 305.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9D48E3
RGBrgb(157, 72, 227)
HSLhsl(273, 73%, 59%)
HSVhsv(273, 68%, 89%)
CMYKcmyk(30.8%, 68.3%, 0%, 11%)
CIE-LABlab(48.70, 61.88, -64.63)
CIE-LCHlch(48.70, 89.48, 313.76°)
OKLaboklab(58.5% 0.1312 -0.1835)
OKLCHoklch(58.5% 0.226 305.6)
XYZxyz(30.0841, 17.3491, 74.4220)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48E3 #8EE348
analogous
#4F48E3 #9D48E3 #E348DC
triadic
#9D48E3 #E39D48 #48E39D
tetradic
#9D48E3 #E34F48 #8EE348 #48DCE3
square
#9D48E3 #E34F48 #8EE348 #48DCE3
split-complementary
#9D48E3 #DCE348 #48E34F
monochromatic
#5F1799 #7F20CE #9D48E3 #B97DEB #D6B2F3

Accessibility & contrast

On white

4.70
#9D48E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9D48E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48E3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48E3#FFFFFF#000000##FFFFFF
##9D48E31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#0E74E0
Tritanopia (blue-blind)
#906B90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d48e3;
/* rgb */ color: rgb(157, 72, 227);
/* oklch */ color: oklch(58.5% 0.226 305.6);
Tailwind
colors: {
  custom: {
    50: '#bf81ed',
    500: '#9d48e3',
    950: '#000000',
  },
}
SCSS
$custom: #9d48e3;
$custom-light: #bf81ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48e3",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 272.903,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58504,
    "c": 0.22558,
    "h": 305.6
  },
  "luminance": 0.17349
}

Semantic roles & 50–950 ramp

primary
#9D48E3
secondary
#C0E2A5
accent
#F0388B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D48E3

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

Preview Lab → · Contrast checker → · Palette generator →

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