#98308C#98308C

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

Color values

HEX#98308C
RGBrgb(152, 48, 140)
HSLhsl(307, 52%, 39%)
HSVhsv(307, 68%, 60%)
CMYKcmyk(0%, 68.4%, 7.9%, 40.4%)
CIE-LABlab(39.04, 53.76, -28.99)
CIE-LCHlch(39.04, 61.07, 331.66°)
OKLaboklab(49.73% 0.1548 -0.0794)
OKLCHoklch(49.73% 0.174 332.8)
XYZxyz(18.7395, 10.6842, 25.8811)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98308C #30983C
analogous
#703098 #98308C #983058
triadic
#98308C #8C9830 #308C98
tetradic
#98308C #987030 #30983C #305898
square
#98308C #987030 #30983C #305898
split-complementary
#98308C #589830 #309870
monochromatic
#3B1336 #692161 #98308C #C342B4 #D270C7

Accessibility & contrast

On white

6.70
#98308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#98308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98308C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98308C#FFFFFF#000000##FFFFFF
##98308C1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528F
Deuteranopia (green-blind)
#506189
Tritanopia (blue-blind)
#9F395A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98308c;
/* rgb */ color: rgb(152, 48, 140);
/* oklch */ color: oklch(49.7% 0.174 332.8);
Tailwind
colors: {
  custom: {
    50: '#b971ae',
    500: '#98308c',
    950: '#000000',
  },
}
SCSS
$custom: #98308c;
$custom-light: #b971ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98308c",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 306.923,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4973,
    "c": 0.17394,
    "h": 332.8
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#98308C
secondary
#6ABA73
accent
#DB5D4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98308C

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

Preview Lab → · Contrast checker → · Palette generator →

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