#98309E#98309E

#98309E is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.189 H 325.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#98309E
RGBrgb(152, 48, 158)
HSLhsl(297, 53%, 40%)
HSVhsv(297, 70%, 62%)
CMYKcmyk(3.8%, 69.6%, 0%, 38%)
CIE-LABlab(40.01, 56.83, -38.38)
CIE-LCHlch(40.01, 68.58, 325.97°)
OKLaboklab(50.74% 0.1556 -0.1066)
OKLCHoklch(50.74% 0.189 325.6)
XYZxyz(20.1770, 11.2592, 33.4516)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98309E #369E30
analogous
#61309E #98309E #9E306D
triadic
#98309E #9E9830 #309E98
tetradic
#98309E #9E6130 #369E30 #306D9E
square
#98309E #9E6130 #369E30 #306D9E
split-complementary
#98309E #6D9E30 #309E61
monochromatic
#3E1340 #6B226F #98309E #BF45C6 #CF74D5

Accessibility & contrast

On white

6.46
#98309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#98309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98309E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98309E#FFFFFF#000000##FFFFFF
##98309E1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#9C4163
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98309e;
/* rgb */ color: rgb(152, 48, 158);
/* oklch */ color: oklch(50.7% 0.189 325.6);
Tailwind
colors: {
  custom: {
    50: '#ba72bb',
    500: '#98309e',
    950: '#000000',
  },
}
SCSS
$custom: #98309e;
$custom-light: #ba72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#98309e",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 296.727,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.18862,
    "h": 325.6
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#98309E
secondary
#72BD6D
accent
#DD4B53
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98309E

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

Preview Lab → · Contrast checker → · Palette generator →

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