#98308F#98308F

#98308F is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.9% C 0.176 H 331.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#98308F
RGBrgb(152, 48, 143)
HSLhsl(305, 52%, 39%)
HSVhsv(305, 68%, 60%)
CMYKcmyk(0%, 68.4%, 5.9%, 40.4%)
CIE-LABlab(39.20, 54.25, -30.58)
CIE-LCHlch(39.20, 62.27, 330.59°)
OKLaboklab(49.89% 0.155 -0.084)
OKLCHoklch(49.89% 0.176 331.5)
XYZxyz(18.9638, 10.7739, 27.0621)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98308F #309839
analogous
#6D3098 #98308F #98305B
triadic
#98308F #8F9830 #308F98
tetradic
#98308F #986D30 #309839 #305B98
square
#98308F #986D30 #309839 #305B98
split-complementary
#98308F #5B9830 #30986D
monochromatic
#3B1337 #692163 #98308F #C342B8 #D270CA

Accessibility & contrast

On white

6.66
#98308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98308F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98308F#FFFFFF#000000##FFFFFF
##98308F1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#4F628C
Tritanopia (blue-blind)
#9E3B5B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98308f;
/* rgb */ color: rgb(152, 48, 143);
/* oklch */ color: oklch(49.9% 0.176 331.5);
Tailwind
colors: {
  custom: {
    50: '#b971b0',
    500: '#98308f',
    950: '#000000',
  },
}
SCSS
$custom: #98308f;
$custom-light: #b971b0;
$custom-dark: #000000;
JSON
{
  "hex": "#98308f",
  "rgb": {
    "r": 152,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 305.192,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49891,
    "c": 0.17631,
    "h": 331.5
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#98308F
secondary
#6ABA71
accent
#DB594C
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #98308F

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

Preview Lab → · Contrast checker → · Palette generator →

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