#98258F#98258F

#98258F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.189 H 331.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#98258F
RGBrgb(152, 37, 143)
HSLhsl(305, 61%, 37%)
HSVhsv(305, 76%, 60%)
CMYKcmyk(0%, 75.7%, 5.9%, 40.4%)
CIE-LABlab(37.81, 58.17, -32.76)
CIE-LCHlch(37.81, 66.76, 330.61°)
OKLaboklab(48.89% 0.1664 -0.0902)
OKLCHoklch(48.89% 0.189 331.5)
XYZxyz(18.5684, 9.9832, 26.9303)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98258F #25982E
analogous
#682598 #98258F #982555
triadic
#98258F #8F9825 #258F98
tetradic
#98258F #986825 #25982E #255598
square
#98258F #986825 #25982E #255598
split-complementary
#98258F #559825 #259868
monochromatic
#360D32 #671961 #98258F #C931BD #D85FCF

Accessibility & contrast

On white

7.01
#98258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#98258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98258F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98258F#FFFFFF#000000##FFFFFF
##98258F1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F92
Deuteranopia (green-blind)
#4A5F8C
Tritanopia (blue-blind)
#9E3358
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98258f;
/* rgb */ color: rgb(152, 37, 143);
/* oklch */ color: oklch(48.9% 0.189 331.5);
Tailwind
colors: {
  custom: {
    50: '#ba6cb0',
    500: '#98258f',
    950: '#000000',
  },
}
SCSS
$custom: #98258f;
$custom-light: #ba6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#98258f",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 304.696,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48894,
    "c": 0.18927,
    "h": 331.5
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#98258F
secondary
#5CBD63
accent
#E45044
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #98258F

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

Preview Lab → · Contrast checker → · Palette generator →

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