#98258E#98258E

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

Color values

HEX#98258E
RGBrgb(152, 37, 142)
HSLhsl(305, 61%, 37%)
HSVhsv(305, 76%, 60%)
CMYKcmyk(0%, 75.7%, 6.6%, 40.4%)
CIE-LABlab(37.76, 58.01, -32.24)
CIE-LCHlch(37.76, 66.37, 330.94°)
OKLaboklab(48.84% 0.1663 -0.0887)
OKLCHoklch(48.84% 0.189 331.9)
XYZxyz(18.4930, 9.9531, 26.5331)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98258E #25982F
analogous
#682598 #98258E #982555
triadic
#98258E #8E9825 #258E98
tetradic
#98258E #986825 #25982F #255598
square
#98258E #986825 #25982F #255598
split-complementary
#98258E #559825 #259868
monochromatic
#360D32 #671960 #98258E #C931BC #D85FCE

Accessibility & contrast

On white

7.02
#98258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#98258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98258E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98258E#FFFFFF#000000##FFFFFF
##98258E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F91
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#9F3358
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98258e;
/* rgb */ color: rgb(152, 37, 142);
/* oklch */ color: oklch(48.8% 0.189 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba6caf',
    500: '#98258e',
    950: '#000000',
  },
}
SCSS
$custom: #98258e;
$custom-light: #ba6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#98258e",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 305.217,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48838,
    "c": 0.18851,
    "h": 331.9
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#98258E
secondary
#5CBD64
accent
#E45244
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98258E

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

Preview Lab → · Contrast checker → · Palette generator →

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