#98509D#98509D

#98509D is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.7% C 0.140 H 324.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#98509D
RGBrgb(152, 80, 157)
HSLhsl(296, 32%, 46%)
HSVhsv(296, 49%, 62%)
CMYKcmyk(3.2%, 49%, 0%, 38.4%)
CIE-LABlab(45.43, 41.78, -29.25)
CIE-LCHlch(45.43, 51.00, 325.00°)
OKLaboklab(54.68% 0.1142 -0.0805)
OKLCHoklch(54.68% 0.14 324.8)
XYZxyz(21.9028, 14.8481, 33.6040)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98509D #559D50
analogous
#72509D #98509D #9D507C
triadic
#98509D #9D9850 #509D98
tetradic
#98509D #9D7250 #559D50 #507C9D
square
#98509D #9D7250 #559D50 #507C9D
split-complementary
#98509D #7C9D50 #509D72
monochromatic
#49274C #713B74 #98509D #B373B8 #C99BCC

Accessibility & contrast

On white

5.29
#98509D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#98509D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98509D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98509D#FFFFFF#000000##FFFFFF
##98509D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4766A0
Deuteranopia (green-blind)
#5C6F9B
Tritanopia (blue-blind)
#9B596F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #98509d;
/* rgb */ color: rgb(152, 80, 157);
/* oklch */ color: oklch(54.7% 0.140 324.8);
Tailwind
colors: {
  custom: {
    50: '#b884ba',
    500: '#98509d',
    950: '#000000',
  },
}
SCSS
$custom: #98509d;
$custom-light: #b884ba;
$custom-dark: #000000;
JSON
{
  "hex": "#98509d",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 296.104,
    "s": 32.489,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.13971,
    "h": 324.8
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#98509D
secondary
#92B990
accent
#C95F66
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #98509D

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

Preview Lab → · Contrast checker → · Palette generator →

#98509D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva