#9F48E3#9F48E3

#9F48E3 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.7% C 0.226 H 306.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9F48E3
RGBrgb(159, 72, 227)
HSLhsl(274, 73%, 59%)
HSVhsv(274, 68%, 89%)
CMYKcmyk(30%, 68.3%, 0%, 11%)
CIE-LABlab(48.95, 62.28, -64.21)
CIE-LCHlch(48.95, 89.45, 314.13°)
OKLaboklab(58.74% 0.1338 -0.1822)
OKLCHoklch(58.74% 0.226 306.3)
XYZxyz(30.4776, 17.5520, 74.4404)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48E3 #8CE348
analogous
#5148E3 #9F48E3 #E348DA
triadic
#9F48E3 #E39F48 #48E39F
tetradic
#9F48E3 #E35148 #8CE348 #48DAE3
square
#9F48E3 #E35148 #8CE348 #48DAE3
split-complementary
#9F48E3 #DAE348 #48E351
monochromatic
#601799 #8220CE #9F48E3 #BB7DEB #D7B2F3

Accessibility & contrast

On white

4.66
#9F48E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9F48E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48E3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48E3#FFFFFF#000000##FFFFFF
##9F48E31.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#1675E0
Tritanopia (blue-blind)
#936B90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f48e3;
/* rgb */ color: rgb(159, 72, 227);
/* oklch */ color: oklch(58.7% 0.226 306.3);
Tailwind
colors: {
  custom: {
    50: '#c081ed',
    500: '#9f48e3',
    950: '#000000',
  },
}
SCSS
$custom: #9f48e3;
$custom-light: #c081ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48e3",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 273.677,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58737,
    "c": 0.22606,
    "h": 306.3
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F48E3

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

Preview Lab → · Contrast checker → · Palette generator →

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