#98258A#98258A

#98258A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.186 H 333.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#98258A
RGBrgb(152, 37, 138)
HSLhsl(307, 61%, 37%)
HSVhsv(307, 76%, 60%)
CMYKcmyk(0%, 75.7%, 9.2%, 40.4%)
CIE-LABlab(37.54, 57.38, -30.12)
CIE-LCHlch(37.54, 64.81, 332.31°)
OKLaboklab(48.62% 0.1661 -0.0826)
OKLCHoklch(48.62% 0.186 333.6)
XYZxyz(18.1980, 9.8351, 24.9797)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98258A #259833
analogous
#6C2598 #98258A #982551
triadic
#98258A #8A9825 #258A98
tetradic
#98258A #986C25 #259833 #255198
square
#98258A #986C25 #259833 #255198
split-complementary
#98258A #519825 #25986C
monochromatic
#360D31 #67195D #98258A #C931B7 #D85FC9

Accessibility & contrast

On white

7.08
#98258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98258A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98258A#FFFFFF#000000##FFFFFF
##98258A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8D
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#9F3055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98258a;
/* rgb */ color: rgb(152, 37, 138);
/* oklch */ color: oklch(48.6% 0.186 333.6);
Tailwind
colors: {
  custom: {
    50: '#ba6cac',
    500: '#98258a',
    950: '#000000',
  },
}
SCSS
$custom: #98258a;
$custom-light: #ba6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#98258a",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 307.304,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48616,
    "c": 0.18554,
    "h": 333.6
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98258A

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

Preview Lab → · Contrast checker → · Palette generator →

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