#98309C#98309C

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

Color values

HEX#98309C
RGBrgb(152, 48, 156)
HSLhsl(298, 53%, 40%)
HSVhsv(298, 69%, 61%)
CMYKcmyk(2.6%, 69.2%, 0%, 38.8%)
CIE-LABlab(39.90, 56.48, -37.35)
CIE-LCHlch(39.90, 67.71, 326.52°)
OKLaboklab(50.63% 0.1556 -0.1036)
OKLCHoklch(50.63% 0.187 326.3)
XYZxyz(20.0062, 11.1909, 32.5524)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98309C #349C30
analogous
#62309C #98309C #9C306A
triadic
#98309C #9C9830 #309C98
tetradic
#98309C #9C6230 #349C30 #306A9C
square
#98309C #9C6230 #349C30 #306A9C
split-complementary
#98309C #6A9C30 #309C62
monochromatic
#3D133E #6A226D #98309C #C144C5 #D073D4

Accessibility & contrast

On white

6.49
#98309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98309C
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98309C#FFFFFF#000000##FFFFFF
##98309C1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98309c;
/* rgb */ color: rgb(152, 48, 156);
/* oklch */ color: oklch(50.6% 0.187 326.3);
Tailwind
colors: {
  custom: {
    50: '#ba72ba',
    500: '#98309c',
    950: '#000000',
  },
}
SCSS
$custom: #98309c;
$custom-light: #ba72ba;
$custom-dark: #000000;
JSON
{
  "hex": "#98309c",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 297.778,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.50626,
    "c": 0.18694,
    "h": 326.3
  },
  "luminance": 0.1119
}

Semantic roles & 50–950 ramp

primary
#98309C
secondary
#6FBC6C
accent
#DC4B51
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98309C

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

Preview Lab → · Contrast checker → · Palette generator →

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