#98239C#98239C

#98239C is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.201 H 326.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#98239C
RGBrgb(152, 35, 156)
HSLhsl(298, 63%, 37%)
HSVhsv(298, 78%, 61%)
CMYKcmyk(2.6%, 77.6%, 0%, 38.8%)
CIE-LABlab(38.34, 60.93, -39.84)
CIE-LCHlch(38.34, 72.80, 326.82°)
OKLaboklab(49.51% 0.1681 -0.1107)
OKLCHoklch(49.51% 0.201 326.6)
XYZxyz(19.5503, 10.2791, 32.4004)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98239C #279C23
analogous
#5C239C #98239C #9C2363
triadic
#98239C #9C9823 #239C98
tetradic
#98239C #9C5C23 #279C23 #23639C
square
#98239C #9C5C23 #279C23 #23639C
split-complementary
#98239C #639C23 #239C5C
monochromatic
#370D38 #67186A #98239C #C92ECE #D75EDB

Accessibility & contrast

On white

6.87
#98239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#98239C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98239C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98239C#FFFFFF#000000##FFFFFF
##98239C1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#425F99
Tritanopia (blue-blind)
#9C385F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98239c;
/* rgb */ color: rgb(152, 35, 156);
/* oklch */ color: oklch(49.5% 0.201 326.6);
Tailwind
colors: {
  custom: {
    50: '#ba6cba',
    500: '#98239c',
    950: '#000000',
  },
}
SCSS
$custom: #98239c;
$custom-light: #ba6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#98239c",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 298.017,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4951,
    "c": 0.20126,
    "h": 326.6
  },
  "luminance": 0.10278
}

Semantic roles & 50–950 ramp

primary
#98239C
secondary
#5EC05B
accent
#E64147
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98239C

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

Preview Lab → · Contrast checker → · Palette generator →

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