#98258B#98258B

#98258B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.186 H 333.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#98258B
RGBrgb(152, 37, 139)
HSLhsl(307, 61%, 37%)
HSVhsv(307, 76%, 60%)
CMYKcmyk(0%, 75.7%, 8.6%, 40.4%)
CIE-LABlab(37.60, 57.54, -30.65)
CIE-LCHlch(37.60, 65.19, 331.96°)
OKLaboklab(48.67% 0.1662 -0.0841)
OKLCHoklch(48.67% 0.186 333.2)
XYZxyz(18.2708, 9.8642, 25.3628)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98258B #259832
analogous
#6C2598 #98258B #982551
triadic
#98258B #8B9825 #258B98
tetradic
#98258B #986C25 #259832 #255198
square
#98258B #986C25 #259832 #255198
split-complementary
#98258B #519825 #25986C
monochromatic
#360D31 #67195E #98258B #C931B8 #D85FCA

Accessibility & contrast

On white

7.06
#98258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#98258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98258B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98258B#FFFFFF#000000##FFFFFF
##98258B1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8E
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#9F3156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98258b;
/* rgb */ color: rgb(152, 37, 139);
/* oklch */ color: oklch(48.7% 0.186 333.2);
Tailwind
colors: {
  custom: {
    50: '#ba6cad',
    500: '#98258b',
    950: '#000000',
  },
}
SCSS
$custom: #98258b;
$custom-light: #ba6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#98258b",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 306.783,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48671,
    "c": 0.18628,
    "h": 333.2
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#98258B
secondary
#5CBD67
accent
#E45644
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98258B

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

Preview Lab → · Contrast checker → · Palette generator →

#98258B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva