#98249B#98249B

#98249B is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.200 H 327.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#98249B
RGBrgb(152, 36, 155)
HSLhsl(298, 62%, 37%)
HSVhsv(298, 77%, 61%)
CMYKcmyk(1.9%, 76.8%, 0%, 39.2%)
CIE-LABlab(38.38, 60.46, -39.16)
CIE-LCHlch(38.38, 72.03, 327.07°)
OKLaboklab(49.52% 0.1673 -0.1088)
OKLCHoklch(49.52% 0.2 327)
XYZxyz(19.4958, 10.3051, 31.9662)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98249B #279B24
analogous
#5C249B #98249B #9B2463
triadic
#98249B #9B9824 #249B98
tetradic
#98249B #9B5C24 #279B24 #24639B
square
#98249B #9B5C24 #279B24 #24639B
split-complementary
#98249B #639B24 #249B5C
monochromatic
#370D38 #671869 #98249B #C930CD #D75FDA

Accessibility & contrast

On white

6.86
#98249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#98249B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98249B
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98249B#FFFFFF#000000##FFFFFF
##98249B1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#435F98
Tritanopia (blue-blind)
#9C385F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98249b;
/* rgb */ color: rgb(152, 36, 155);
/* oklch */ color: oklch(49.5% 0.200 327.0);
Tailwind
colors: {
  custom: {
    50: '#ba6db9',
    500: '#98249b',
    950: '#000000',
  },
}
SCSS
$custom: #98249b;
$custom-light: #ba6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#98249b",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 298.487,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49523,
    "c": 0.19951,
    "h": 327
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#98249B
secondary
#5EBF5C
accent
#E54247
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98249B

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

Preview Lab → · Contrast checker → · Palette generator →

#98249B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva