#98548E#98548E

#98548E is a mid, moderate purple. Relative luminance 0.150; OKLCH L 54.6% C 0.118 H 332.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#98548E
RGBrgb(152, 84, 142)
HSLhsl(309, 29%, 46%)
HSVhsv(309, 45%, 60%)
CMYKcmyk(0%, 44.7%, 6.6%, 40.4%)
CIE-LABlab(45.59, 36.79, -20.03)
CIE-LCHlch(45.59, 41.89, 331.44°)
OKLaboklab(54.59% 0.105 -0.0542)
OKLCHoklch(54.59% 0.118 332.7)
XYZxyz(21.0016, 14.9702, 27.3693)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98548E #54985E
analogous
#805498 #98548E #98546C
triadic
#98548E #8E9854 #548E98
tetradic
#98548E #988054 #54985E #546C98
square
#98548E #988054 #54985E #546C98
split-complementary
#98548E #6C9854 #549880
monochromatic
#492844 #713E69 #98548E #B376AA #C99DC3

Accessibility & contrast

On white

5.26
#98548E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#98548E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98548E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98548E#FFFFFF#000000##FFFFFF
##98548E1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536690
Deuteranopia (green-blind)
#656F8C
Tritanopia (blue-blind)
#9D586A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #98548e;
/* rgb */ color: rgb(152, 84, 142);
/* oklch */ color: oklch(54.6% 0.118 332.7);
Tailwind
colors: {
  custom: {
    50: '#b886af',
    500: '#98548e',
    950: '#000000',
  },
}
SCSS
$custom: #98548e;
$custom-light: #b886af;
$custom-dark: #000000;
JSON
{
  "hex": "#98548e",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 308.824,
    "s": 28.814,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54587,
    "c": 0.1182,
    "h": 332.7
  },
  "luminance": 0.14969
}

Semantic roles & 50–950 ramp

primary
#98548E
secondary
#92B697
accent
#C57163
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #98548E

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

Preview Lab → · Contrast checker → · Palette generator →

#98548E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva