#98239E#98239E

#98239E is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.203 H 325.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#98239E
RGBrgb(152, 35, 158)
HSLhsl(297, 64%, 38%)
HSVhsv(297, 78%, 62%)
CMYKcmyk(3.8%, 77.8%, 0%, 38%)
CIE-LABlab(38.46, 61.27, -40.85)
CIE-LCHlch(38.46, 73.64, 326.31°)
OKLaboklab(49.63% 0.168 -0.1137)
OKLCHoklch(49.63% 0.203 325.9)
XYZxyz(19.7211, 10.3474, 33.2997)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98239E #299E23
analogous
#5A239E #98239E #9E2367
triadic
#98239E #9E9823 #239E98
tetradic
#98239E #9E5A23 #299E23 #23679E
square
#98239E #9E5A23 #299E23 #23679E
split-complementary
#98239E #679E23 #239E5A
monochromatic
#380D3A #68186C #98239E #C82ED0 #D660DC

Accessibility & contrast

On white

6.84
#98239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#98239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98239E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98239E#FFFFFF#000000##FFFFFF
##98239E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#405F9B
Tritanopia (blue-blind)
#9C3960
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98239e;
/* rgb */ color: rgb(152, 35, 158);
/* oklch */ color: oklch(49.6% 0.203 325.9);
Tailwind
colors: {
  custom: {
    50: '#ba6cbb',
    500: '#98239e',
    950: '#000000',
  },
}
SCSS
$custom: #98239e;
$custom-light: #ba6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#98239e",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 297.073,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49634,
    "c": 0.20283,
    "h": 325.9
  },
  "luminance": 0.10346
}

Semantic roles & 50–950 ramp

primary
#98239E
secondary
#61C15C
accent
#E74149
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #98239E

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

Preview Lab → · Contrast checker → · Palette generator →

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