#98309B#98309B

#98309B is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.186 H 326.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#98309B
RGBrgb(152, 48, 155)
HSLhsl(298, 53%, 40%)
HSVhsv(298, 69%, 61%)
CMYKcmyk(1.9%, 69%, 0%, 39.2%)
CIE-LABlab(39.84, 56.30, -36.84)
CIE-LCHlch(39.84, 67.28, 326.80°)
OKLaboklab(50.57% 0.1556 -0.1021)
OKLCHoklch(50.57% 0.186 326.7)
XYZxyz(19.9219, 11.1572, 32.1082)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98309B #339B30
analogous
#63309B #98309B #9B3068
triadic
#98309B #9B9830 #309B98
tetradic
#98309B #9B6330 #339B30 #30689B
square
#98309B #9B6330 #339B30 #30689B
split-complementary
#98309B #689B30 #309B63
monochromatic
#3C133E #6A226C #98309B #C143C5 #D172D3

Accessibility & contrast

On white

6.50
#98309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#98309B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98309B
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98309B#FFFFFF#000000##FFFFFF
##98309B1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#496298
Tritanopia (blue-blind)
#9C4062
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98309b;
/* rgb */ color: rgb(152, 48, 155);
/* oklch */ color: oklch(50.6% 0.186 326.7);
Tailwind
colors: {
  custom: {
    50: '#ba72b9',
    500: '#98309b',
    950: '#000000',
  },
}
SCSS
$custom: #98309b;
$custom-light: #ba72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#98309b",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 298.318,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.1861,
    "h": 326.7
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#98309B
secondary
#6EBB6C
accent
#DC4C50
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98309B

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

Preview Lab → · Contrast checker → · Palette generator →

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