#98239F#98239F

#98239F is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.204 H 325.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#98239F
RGBrgb(152, 35, 159)
HSLhsl(297, 64%, 38%)
HSVhsv(297, 78%, 62%)
CMYKcmyk(4.4%, 78%, 0%, 37.6%)
CIE-LABlab(38.52, 61.44, -41.36)
CIE-LCHlch(38.52, 74.06, 326.05°)
OKLaboklab(49.7% 0.1679 -0.1152)
OKLCHoklch(49.7% 0.204 325.5)
XYZxyz(19.8075, 10.3820, 33.7548)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98239F #2A9F23
analogous
#5A239F #98239F #9F2368
triadic
#98239F #9F9823 #239F98
tetradic
#98239F #9F5A23 #2A9F23 #23689F
square
#98239F #9F5A23 #2A9F23 #23689F
split-complementary
#98239F #689F23 #239F5A
monochromatic
#380D3B #68186D #98239F #C82ED1 #D560DC

Accessibility & contrast

On white

6.83
#98239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#98239F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98239F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98239F#FFFFFF#000000##FFFFFF
##98239F1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#405F9C
Tritanopia (blue-blind)
#9C3A61
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #98239f;
/* rgb */ color: rgb(152, 35, 159);
/* oklch */ color: oklch(49.7% 0.204 325.5);
Tailwind
colors: {
  custom: {
    50: '#ba6cbc',
    500: '#98239f',
    950: '#000000',
  },
}
SCSS
$custom: #98239f;
$custom-light: #ba6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#98239f",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 296.613,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49696,
    "c": 0.20362,
    "h": 325.5
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#98239F
secondary
#62C15D
accent
#E7414A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #98239F

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

Preview Lab → · Contrast checker → · Palette generator →

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