#98239B#98239B

#98239B is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.200 H 327.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#98239B
RGBrgb(152, 35, 155)
HSLhsl(299, 63%, 37%)
HSVhsv(299, 77%, 61%)
CMYKcmyk(1.9%, 77.4%, 0%, 39.2%)
CIE-LABlab(38.28, 60.76, -39.33)
CIE-LCHlch(38.28, 72.38, 327.09°)
OKLaboklab(49.45% 0.1681 -0.1093)
OKLCHoklch(49.45% 0.2 327)
XYZxyz(19.4660, 10.2454, 31.9563)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98239B #269B23
analogous
#5C239B #98239B #9B2362
triadic
#98239B #9B9823 #239B98
tetradic
#98239B #9B5C23 #269B23 #23629B
square
#98239B #9B5C23 #269B23 #23629B
split-complementary
#98239B #629B23 #239B5C
monochromatic
#360C37 #671869 #98239B #C92ECD #D75EDB

Accessibility & contrast

On white

6.89
#98239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#98239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98239B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98239B#FFFFFF#000000##FFFFFF
##98239B1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#9C385E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98239b;
/* rgb */ color: rgb(152, 35, 155);
/* oklch */ color: oklch(49.4% 0.200 327.0);
Tailwind
colors: {
  custom: {
    50: '#ba6cb9',
    500: '#98239b',
    950: '#000000',
  },
}
SCSS
$custom: #98239b;
$custom-light: #ba6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#98239b",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 298.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49448,
    "c": 0.20049,
    "h": 327
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#98239B
secondary
#5DBF5A
accent
#E64246
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98239B

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

Preview Lab → · Contrast checker → · Palette generator →

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