#98308B#98308B

#98308B is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.7% C 0.173 H 333.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#98308B
RGBrgb(152, 48, 139)
HSLhsl(308, 52%, 39%)
HSVhsv(308, 68%, 60%)
CMYKcmyk(0%, 68.4%, 8.6%, 40.4%)
CIE-LABlab(38.99, 53.59, -28.45)
CIE-LCHlch(38.99, 60.68, 332.03°)
OKLaboklab(49.68% 0.1547 -0.0779)
OKLCHoklch(49.68% 0.173 333.3)
XYZxyz(18.6661, 10.6549, 25.4946)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98308B #30983D
analogous
#713098 #98308B #983057
triadic
#98308B #8B9830 #308B98
tetradic
#98308B #987130 #30983D #305798
square
#98308B #987130 #30983D #305798
split-complementary
#98308B #579830 #309871
monochromatic
#3B1336 #692160 #98308B #C342B3 #D270C6

Accessibility & contrast

On white

6.71
#98308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#98308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98308B
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98308B#FFFFFF#000000##FFFFFF
##98308B1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528E
Deuteranopia (green-blind)
#516188
Tritanopia (blue-blind)
#9F3959
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98308b;
/* rgb */ color: rgb(152, 48, 139);
/* oklch */ color: oklch(49.7% 0.173 333.3);
Tailwind
colors: {
  custom: {
    50: '#b971ad',
    500: '#98308b',
    950: '#000000',
  },
}
SCSS
$custom: #98308b;
$custom-light: #b971ad;
$custom-dark: #000000;
JSON
{
  "hex": "#98308b",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 307.5,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.17316,
    "h": 333.3
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#98308B
secondary
#6ABA74
accent
#DB5E4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98308B

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

Preview Lab → · Contrast checker → · Palette generator →

#98308B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva