#9F48E9#9F48E9

#9F48E9 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.2% C 0.232 H 305.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9F48E9
RGBrgb(159, 72, 233)
HSLhsl(272, 79%, 60%)
HSVhsv(272, 69%, 91%)
CMYKcmyk(31.8%, 69.1%, 0%, 8.6%)
CIE-LABlab(49.36, 63.63, -66.93)
CIE-LCHlch(49.36, 92.35, 313.55°)
OKLaboklab(59.16% 0.133 -0.1902)
OKLCHoklch(59.16% 0.232 305)
XYZxyz(31.3201, 17.8890, 78.8779)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48E9 #92E948
analogous
#4E48E9 #9F48E9 #E948E3
triadic
#9F48E9 #E99F48 #48E99F
tetradic
#9F48E9 #E94E48 #92E948 #48E3E9
square
#9F48E9 #E94E48 #92E948 #48E3E9
split-complementary
#9F48E9 #E3E948 #48E94E
monochromatic
#6114A3 #821ADA #9F48E9 #BC7FF0 #D8B5F6

Accessibility & contrast

On white

4.59
#9F48E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9F48E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48E9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48E9#FFFFFF#000000##FFFFFF
##9F48E91.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#916D94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f48e9;
/* rgb */ color: rgb(159, 72, 233);
/* oklch */ color: oklch(59.2% 0.232 305.0);
Tailwind
colors: {
  custom: {
    50: '#c181f1',
    500: '#9f48e9',
    950: '#000000',
  },
}
SCSS
$custom: #9f48e9;
$custom-light: #c181f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48e9",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 272.422,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59162,
    "c": 0.23209,
    "h": 305
  },
  "luminance": 0.17889
}

Semantic roles & 50–950 ramp

primary
#9F48E9
secondary
#C4E6A7
accent
#F5338C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F48E9

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

Preview Lab → · Contrast checker → · Palette generator →

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