#98188A#98188A

#98188A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.197 H 333.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#98188A
RGBrgb(152, 24, 138)
HSLhsl(307, 73%, 35%)
HSVhsv(307, 84%, 60%)
CMYKcmyk(0%, 84.2%, 9.2%, 40.4%)
CIE-LABlab(36.30, 60.97, -32.08)
CIE-LCHlch(36.30, 68.89, 332.25°)
OKLaboklab(47.73% 0.1767 -0.0882)
OKLCHoklch(47.73% 0.197 333.5)
XYZxyz(17.8631, 9.1653, 24.8681)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98188A #189826
analogous
#661898 #98188A #98184A
triadic
#98188A #8A9818 #188A98
tetradic
#98188A #986618 #189826 #184A98
square
#98188A #986618 #189826 #184A98
split-complementary
#98188A #4A9818 #189866
monochromatic
#2E072A #63105A #98188A #CD20BA #E248D1

Accessibility & contrast

On white

7.41
#98188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#98188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98188A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98188A#FFFFFF#000000##FFFFFF
##98188A1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#485C87
Tritanopia (blue-blind)
#9F2852
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98188a;
/* rgb */ color: rgb(152, 24, 138);
/* oklch */ color: oklch(47.7% 0.197 333.5);
Tailwind
colors: {
  custom: {
    50: '#ba68ac',
    500: '#98188a',
    950: '#000000',
  },
}
SCSS
$custom: #98188a;
$custom-light: #ba68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#98188a",
  "rgb": {
    "r": 152,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 306.563,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.19744,
    "h": 333.5
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#98188A
secondary
#48C456
accent
#EF4C38
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #98188A

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

Preview Lab → · Contrast checker → · Palette generator →

#98188A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva