#98308E#98308E

#98308E is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.176 H 332.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#98308E
RGBrgb(152, 48, 142)
HSLhsl(306, 52%, 39%)
HSVhsv(306, 68%, 60%)
CMYKcmyk(0%, 68.4%, 6.6%, 40.4%)
CIE-LABlab(39.15, 54.08, -30.05)
CIE-LCHlch(39.15, 61.87, 330.94°)
OKLaboklab(49.84% 0.1549 -0.0825)
OKLCHoklch(49.84% 0.176 332)
XYZxyz(18.8883, 10.7438, 26.6649)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98308E #30983A
analogous
#6E3098 #98308E #98305A
triadic
#98308E #8E9830 #308E98
tetradic
#98308E #986E30 #30983A #305A98
square
#98308E #986E30 #30983A #305A98
split-complementary
#98308E #5A9830 #30986E
monochromatic
#3B1337 #692163 #98308E #C342B7 #D270C9

Accessibility & contrast

On white

6.67
#98308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#98308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98308E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98308E#FFFFFF#000000##FFFFFF
##98308E1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#9E3A5B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98308e;
/* rgb */ color: rgb(152, 48, 142);
/* oklch */ color: oklch(49.8% 0.176 332.0);
Tailwind
colors: {
  custom: {
    50: '#b971af',
    500: '#98308e',
    950: '#000000',
  },
}
SCSS
$custom: #98308e;
$custom-light: #b971af;
$custom-dark: #000000;
JSON
{
  "hex": "#98308e",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 305.769,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.17552,
    "h": 332
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#98308E
secondary
#6ABA72
accent
#DB5A4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98308E

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

Preview Lab → · Contrast checker → · Palette generator →

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