#98188E#98188E

#98188E is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.0% C 0.200 H 331.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#98188E
RGBrgb(152, 24, 142)
HSLhsl(305, 73%, 35%)
HSVhsv(305, 84%, 60%)
CMYKcmyk(0%, 84.2%, 6.6%, 40.4%)
CIE-LABlab(36.52, 61.57, -34.19)
CIE-LCHlch(36.52, 70.43, 330.96°)
OKLaboklab(47.96% 0.1767 -0.0943)
OKLCHoklch(47.96% 0.2 331.9)
XYZxyz(18.1581, 9.2832, 26.4214)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98188E #189822
analogous
#621898 #98188E #98184E
triadic
#98188E #8E9818 #188E98
tetradic
#98188E #986218 #189822 #184E98
square
#98188E #986218 #189822 #184E98
split-complementary
#98188E #4E9818 #189862
monochromatic
#2E072B #63105D #98188E #CD20BF #E248D6

Accessibility & contrast

On white

7.35
#98188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#98188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98188E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98188E#FFFFFF#000000##FFFFFF
##98188E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074B91
Deuteranopia (green-blind)
#465C8B
Tritanopia (blue-blind)
#9F2B55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98188e;
/* rgb */ color: rgb(152, 24, 142);
/* oklch */ color: oklch(48.0% 0.200 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba68af',
    500: '#98188e',
    950: '#000000',
  },
}
SCSS
$custom: #98188e;
$custom-light: #ba68af;
$custom-dark: #000000;
JSON
{
  "hex": "#98188e",
  "rgb": {
    "r": 152,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 304.688,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47957,
    "c": 0.20026,
    "h": 331.9
  },
  "luminance": 0.09282
}

Semantic roles & 50–950 ramp

primary
#98188E
secondary
#48C452
accent
#EF4738
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #98188E

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

Preview Lab → · Contrast checker → · Palette generator →

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