#98309F#98309F

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

Color values

HEX#98309F
RGBrgb(152, 48, 159)
HSLhsl(296, 54%, 41%)
HSVhsv(296, 70%, 62%)
CMYKcmyk(4.4%, 69.8%, 0%, 37.6%)
CIE-LABlab(40.07, 57.01, -38.89)
CIE-LCHlch(40.07, 69.01, 325.70°)
OKLaboklab(50.8% 0.1556 -0.1081)
OKLCHoklch(50.8% 0.189 325.2)
XYZxyz(20.2634, 11.2938, 33.9068)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98309F #379F30
analogous
#60309F #98309F #9F306E
triadic
#98309F #9F9830 #309F98
tetradic
#98309F #9F6030 #379F30 #306E9F
square
#98309F #9F6030 #379F30 #306E9F
split-complementary
#98309F #6E9F30 #309F60
monochromatic
#3E1441 #6B2270 #98309F #BF45C7 #CF74D5

Accessibility & contrast

On white

6.44
#98309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#98309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98309F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98309F#FFFFFF#000000##FFFFFF
##98309F1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#46639C
Tritanopia (blue-blind)
#9B4264
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98309f;
/* rgb */ color: rgb(152, 48, 159);
/* oklch */ color: oklch(50.8% 0.189 325.2);
Tailwind
colors: {
  custom: {
    50: '#ba72bc',
    500: '#98309f',
    950: '#000000',
  },
}
SCSS
$custom: #98309f;
$custom-light: #ba72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#98309f",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 296.216,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50804,
    "c": 0.18946,
    "h": 325.2
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#98309F
secondary
#73BD6E
accent
#DD4B54
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98309F

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

Preview Lab → · Contrast checker → · Palette generator →

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