#9F48EA#9F48EA

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

Color values

HEX#9F48EA
RGBrgb(159, 72, 234)
HSLhsl(272, 79%, 60%)
HSVhsv(272, 69%, 92%)
CMYKcmyk(32.1%, 69.2%, 0%, 8.2%)
CIE-LABlab(49.43, 63.85, -67.38)
CIE-LCHlch(49.43, 92.83, 313.46°)
OKLaboklab(59.23% 0.1329 -0.1915)
OKLCHoklch(59.23% 0.233 304.8)
XYZxyz(31.4634, 17.9463, 79.6324)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48EA #93EA48
analogous
#4E48EA #9F48EA #EA48E4
triadic
#9F48EA #EA9F48 #48EA9F
tetradic
#9F48EA #EA4E48 #93EA48 #48E4EA
square
#9F48EA #EA4E48 #93EA48 #48E4EA
split-complementary
#9F48EA #E4EA48 #48EA4E
monochromatic
#6113A5 #8219DC #9F48EA #BC7FF0 #D9B6F7

Accessibility & contrast

On white

4.58
#9F48EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9F48EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F48EA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48EA#FFFFFF#000000##000000
##9F48EA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#916E94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f48ea;
/* rgb */ color: rgb(159, 72, 234);
/* oklch */ color: oklch(59.2% 0.233 304.8);
Tailwind
colors: {
  custom: {
    50: '#c182f2',
    500: '#9f48ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f48ea;
$custom-light: #c182f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48ea",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 234
  },
  "hsl": {
    "h": 272.222,
    "s": 79.412,
    "l": 60
  },
  "oklch": {
    "l": 0.59234,
    "c": 0.23311,
    "h": 304.8
  },
  "luminance": 0.17946
}

Semantic roles & 50–950 ramp

primary
#9F48EA
secondary
#C5E6A8
accent
#F6328D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F48EA

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

Preview Lab → · Contrast checker → · Palette generator →

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