#98259C#98259C

#98259C is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.199 H 326.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#98259C
RGBrgb(152, 37, 156)
HSLhsl(298, 62%, 38%)
HSVhsv(298, 76%, 61%)
CMYKcmyk(2.6%, 76.3%, 0%, 38.8%)
CIE-LABlab(38.55, 60.32, -39.50)
CIE-LCHlch(38.55, 72.10, 326.78°)
OKLaboklab(49.66% 0.1663 -0.1098)
OKLCHoklch(49.66% 0.199 326.6)
XYZxyz(19.6109, 10.4002, 32.4206)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98259C #299C25
analogous
#5C259C #98259C #9C2565
triadic
#98259C #9C9825 #259C98
tetradic
#98259C #9C5C25 #299C25 #25659C
square
#98259C #9C5C25 #299C25 #25659C
split-complementary
#98259C #659C25 #259C5C
monochromatic
#380E39 #68196B #98259C #C831CD #D662DA

Accessibility & contrast

On white

6.82
#98259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#98259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98259C
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98259C#FFFFFF#000000##FFFFFF
##98259C1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#9C3A5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98259c;
/* rgb */ color: rgb(152, 37, 156);
/* oklch */ color: oklch(49.7% 0.199 326.6);
Tailwind
colors: {
  custom: {
    50: '#ba6dba',
    500: '#98259c',
    950: '#000000',
  },
}
SCSS
$custom: #98259c;
$custom-light: #ba6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#98259c",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 297.983,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49661,
    "c": 0.19929,
    "h": 326.6
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#98259C
secondary
#61BF5E
accent
#E54348
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98259C

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

Preview Lab → · Contrast checker → · Palette generator →

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