#9F48BD#9F48BD

#9F48BD is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.2% C 0.188 H 316.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9F48BD
RGBrgb(159, 72, 189)
HSLhsl(285, 47%, 51%)
HSVhsv(285, 62%, 74%)
CMYKcmyk(15.9%, 61.9%, 0%, 25.9%)
CIE-LABlab(46.55, 54.11, -46.25)
CIE-LCHlch(46.55, 71.18, 319.48°)
OKLaboklab(56.25% 0.1362 -0.1295)
OKLCHoklch(56.25% 0.188 316.5)
XYZxyz(25.7994, 15.6807, 49.8019)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48BD #66BD48
analogous
#6448BD #9F48BD #BD48A0
triadic
#9F48BD #BD9F48 #48BD9F
tetradic
#9F48BD #BD6448 #66BD48 #48A0BD
square
#9F48BD #BD6448 #66BD48 #48A0BD
split-complementary
#9F48BD #A0BD48 #48BD64
monochromatic
#552566 #7B3593 #9F48BD #B775CD #CEA2DD

Accessibility & contrast

On white

5.08
#9F48BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9F48BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48BD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48BD#FFFFFF#000000##FFFFFF
##9F48BD1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C1
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#9D5D7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f48bd;
/* rgb */ color: rgb(159, 72, 189);
/* oklch */ color: oklch(56.2% 0.188 316.5);
Tailwind
colors: {
  custom: {
    50: '#be80d1',
    500: '#9f48bd',
    950: '#000000',
  },
}
SCSS
$custom: #9f48bd;
$custom-light: #be80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48bd",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 284.615,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56249,
    "c": 0.18796,
    "h": 316.5
  },
  "luminance": 0.1568
}

Semantic roles & 50–950 ramp

primary
#9F48BD
secondary
#A4CA97
accent
#D75173
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F48BD

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

Preview Lab → · Contrast checker → · Palette generator →

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