#98309D#98309D

#98309D is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.188 H 326.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#98309D
RGBrgb(152, 48, 157)
HSLhsl(297, 53%, 40%)
HSVhsv(297, 69%, 62%)
CMYKcmyk(3.2%, 69.4%, 0%, 38.4%)
CIE-LABlab(39.96, 56.65, -37.87)
CIE-LCHlch(39.96, 68.14, 326.24°)
OKLaboklab(50.69% 0.1556 -0.1051)
OKLCHoklch(50.69% 0.188 326)
XYZxyz(20.0912, 11.2249, 33.0002)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98309D #359D30
analogous
#62309D #98309D #9D306B
triadic
#98309D #9D9830 #309D98
tetradic
#98309D #9D6230 #359D30 #306B9D
square
#98309D #9D6230 #359D30 #306B9D
split-complementary
#98309D #6B9D30 #309D62
monochromatic
#3D133F #6B226E #98309D #C044C6 #D073D4

Accessibility & contrast

On white

6.47
#98309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#98309D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98309D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98309D#FFFFFF#000000##FFFFFF
##98309D1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A0
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#9C4163
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98309d;
/* rgb */ color: rgb(152, 48, 157);
/* oklch */ color: oklch(50.7% 0.188 326.0);
Tailwind
colors: {
  custom: {
    50: '#ba72ba',
    500: '#98309d',
    950: '#000000',
  },
}
SCSS
$custom: #98309d;
$custom-light: #ba72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#98309d",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 297.248,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50685,
    "c": 0.18778,
    "h": 326
  },
  "luminance": 0.11224
}

Semantic roles & 50–950 ramp

primary
#98309D
secondary
#70BC6D
accent
#DD4B52
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98309D

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

Preview Lab → · Contrast checker → · Palette generator →

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