#98258C#98258C

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

Color values

HEX#98258C
RGBrgb(152, 37, 140)
HSLhsl(306, 61%, 37%)
HSVhsv(306, 76%, 60%)
CMYKcmyk(0%, 75.7%, 7.9%, 40.4%)
CIE-LABlab(37.65, 57.70, -31.18)
CIE-LCHlch(37.65, 65.58, 331.61°)
OKLaboklab(48.73% 0.1663 -0.0856)
OKLCHoklch(48.73% 0.187 332.7)
XYZxyz(18.3442, 9.8935, 25.7494)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98258C #259831
analogous
#6B2598 #98258C #982553
triadic
#98258C #8C9825 #258C98
tetradic
#98258C #986B25 #259831 #255398
square
#98258C #986B25 #259831 #255398
split-complementary
#98258C #539825 #25986B
monochromatic
#360D31 #67195F #98258C #C931B9 #D85FCC

Accessibility & contrast

On white

7.05
#98258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#98258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98258C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98258C#FFFFFF#000000##FFFFFF
##98258C1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8F
Deuteranopia (green-blind)
#4C5E89
Tritanopia (blue-blind)
#9F3256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98258c;
/* rgb */ color: rgb(152, 37, 140);
/* oklch */ color: oklch(48.7% 0.187 332.7);
Tailwind
colors: {
  custom: {
    50: '#ba6cae',
    500: '#98258c',
    950: '#000000',
  },
}
SCSS
$custom: #98258c;
$custom-light: #ba6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#98258c",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 306.261,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48726,
    "c": 0.18702,
    "h": 332.7
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#98258C
secondary
#5CBD66
accent
#E45544
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98258C

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

Preview Lab → · Contrast checker → · Palette generator →

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