#98309A#98309A

#98309A is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.185 H 327.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#98309A
RGBrgb(152, 48, 154)
HSLhsl(299, 52%, 40%)
HSVhsv(299, 69%, 60%)
CMYKcmyk(1.3%, 68.8%, 0%, 39.6%)
CIE-LABlab(39.79, 56.13, -36.32)
CIE-LCHlch(39.79, 66.85, 327.09°)
OKLaboklab(50.51% 0.1556 -0.1006)
OKLCHoklch(50.51% 0.185 327.1)
XYZxyz(19.8383, 11.1237, 31.6678)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98309A #329A30
analogous
#63309A #98309A #9A3067
triadic
#98309A #9A9830 #309A98
tetradic
#98309A #9A6330 #329A30 #30679A
square
#98309A #9A6330 #329A30 #30679A
split-complementary
#98309A #679A30 #309A63
monochromatic
#3C133D #6A216B #98309A #C243C4 #D172D3

Accessibility & contrast

On white

6.51
#98309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#98309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98309A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98309A#FFFFFF#000000##FFFFFF
##98309A1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559D
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#9C4061
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98309a;
/* rgb */ color: rgb(152, 48, 154);
/* oklch */ color: oklch(50.5% 0.185 327.1);
Tailwind
colors: {
  custom: {
    50: '#ba72b8',
    500: '#98309a',
    950: '#000000',
  },
}
SCSS
$custom: #98309a;
$custom-light: #ba72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#98309a",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 298.868,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50509,
    "c": 0.18527,
    "h": 327.1
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#98309A
secondary
#6DBB6B
accent
#DC4C4F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #98309A

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

Preview Lab → · Contrast checker → · Palette generator →

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