#98239D#98239D

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

Color values

HEX#98239D
RGBrgb(152, 35, 157)
HSLhsl(298, 64%, 38%)
HSVhsv(298, 78%, 62%)
CMYKcmyk(3.2%, 77.7%, 0%, 38.4%)
CIE-LABlab(38.40, 61.10, -40.35)
CIE-LCHlch(38.40, 73.22, 326.56°)
OKLaboklab(49.57% 0.168 -0.1122)
OKLCHoklch(49.57% 0.202 326.3)
XYZxyz(19.6354, 10.3132, 32.8482)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98239D #289D23
analogous
#5B239D #98239D #9D2365
triadic
#98239D #9D9823 #239D98
tetradic
#98239D #9D5B23 #289D23 #23659D
square
#98239D #9D5B23 #289D23 #23659D
split-complementary
#98239D #659D23 #239D5B
monochromatic
#370D39 #68186B #98239D #C82ECF #D65FDB

Accessibility & contrast

On white

6.86
#98239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98239D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98239D#FFFFFF#000000##FFFFFF
##98239D1.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)
#0051A0
Deuteranopia (green-blind)
#415F9A
Tritanopia (blue-blind)
#9C395F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98239d;
/* rgb */ color: rgb(152, 35, 157);
/* oklch */ color: oklch(49.6% 0.202 326.3);
Tailwind
colors: {
  custom: {
    50: '#ba6cba',
    500: '#98239d',
    950: '#000000',
  },
}
SCSS
$custom: #98239d;
$custom-light: #ba6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#98239d",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 297.541,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49571,
    "c": 0.20205,
    "h": 326.3
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#98239D
secondary
#60C05C
accent
#E74148
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #98239D

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

Preview Lab → · Contrast checker → · Palette generator →

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