#9F48BF#9F48BF

#9F48BF is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.190 H 315.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9F48BF
RGBrgb(159, 72, 191)
HSLhsl(284, 48%, 52%)
HSVhsv(284, 62%, 75%)
CMYKcmyk(16.8%, 62.3%, 0%, 25.1%)
CIE-LABlab(46.67, 54.53, -47.22)
CIE-LCHlch(46.67, 72.13, 319.10°)
OKLaboklab(56.37% 0.1362 -0.1324)
OKLCHoklch(56.37% 0.19 315.8)
XYZxyz(26.0180, 15.7682, 50.9531)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48BF #68BF48
analogous
#6448BF #9F48BF #BF48A3
triadic
#9F48BF #BF9F48 #48BF9F
tetradic
#9F48BF #BF6448 #68BF48 #48A3BF
square
#9F48BF #BF6448 #68BF48 #48A3BF
split-complementary
#9F48BF #A3BF48 #48BF64
monochromatic
#562468 #7B3496 #9F48BF #B775CF #CFA3DF

Accessibility & contrast

On white

5.06
#9F48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9F48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48BF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48BF#FFFFFF#000000##FFFFFF
##9F48BF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#9D5D7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9f48bf;
/* rgb */ color: rgb(159, 72, 191);
/* oklch */ color: oklch(56.4% 0.190 315.8);
Tailwind
colors: {
  custom: {
    50: '#be80d3',
    500: '#9f48bf',
    950: '#000000',
  },
}
SCSS
$custom: #9f48bf;
$custom-light: #be80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48bf",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 283.866,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56371,
    "c": 0.18994,
    "h": 315.8
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#9F48BF
secondary
#A5CC97
accent
#D85075
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9F48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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