#98549F#98549F

#98549F is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.4% C 0.135 H 323.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#98549F
RGBrgb(152, 84, 159)
HSLhsl(294, 31%, 48%)
HSVhsv(294, 47%, 62%)
CMYKcmyk(4.4%, 47.2%, 0%, 37.6%)
CIE-LABlab(46.34, 40.04, -29.01)
CIE-LCHlch(46.34, 49.44, 324.07°)
OKLaboklab(55.39% 0.1086 -0.0798)
OKLCHoklch(55.39% 0.135 323.7)
XYZxyz(22.3766, 15.5202, 34.6112)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98549F #5B9F54
analogous
#72549F #98549F #9F5480
triadic
#98549F #9F9854 #549F98
tetradic
#98549F #9F7254 #5B9F54 #54809F
square
#98549F #9F7254 #5B9F54 #54809F
split-complementary
#98549F #809F54 #549F72
monochromatic
#4B2A4F #723F77 #98549F #B278B8 #C9A0CD

Accessibility & contrast

On white

5.12
#98549F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#98549F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98549F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98549F#FFFFFF#000000##FFFFFF
##98549F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B69A2
Deuteranopia (green-blind)
#5E719D
Tritanopia (blue-blind)
#9A5D72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #98549f;
/* rgb */ color: rgb(152, 84, 159);
/* oklch */ color: oklch(55.4% 0.135 323.7);
Tailwind
colors: {
  custom: {
    50: '#b886bb',
    500: '#98549f',
    950: '#000000',
  },
}
SCSS
$custom: #98549f;
$custom-light: #b886bb;
$custom-dark: #000000;
JSON
{
  "hex": "#98549f",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 294.4,
    "s": 30.864,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.1348,
    "h": 323.7
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#98549F
secondary
#98BA94
accent
#C7616A
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #98549F

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

Preview Lab → · Contrast checker → · Palette generator →

#98549F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva