#98208F#98208F

#98208F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.194 H 331.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#98208F
RGBrgb(152, 32, 143)
HSLhsl(305, 65%, 36%)
HSVhsv(305, 79%, 60%)
CMYKcmyk(0%, 78.9%, 5.9%, 40.4%)
CIE-LABlab(37.29, 59.69, -33.59)
CIE-LCHlch(37.29, 68.49, 330.63°)
OKLaboklab(48.52% 0.1708 -0.0926)
OKLCHoklch(48.52% 0.194 331.5)
XYZxyz(18.4234, 9.6931, 26.8819)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98208F #209829
analogous
#652098 #98208F #982053
triadic
#98208F #8F9820 #208F98
tetradic
#98208F #986520 #209829 #205398
square
#98208F #986520 #209829 #205398
split-complementary
#98208F #539820 #209865
monochromatic
#330B30 #65155F #98208F #CB2BBF #DC57D2

Accessibility & contrast

On white

7.15
#98208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#98208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98208F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98208F#FFFFFF#000000##FFFFFF
##98208F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#485D8C
Tritanopia (blue-blind)
#9E3057
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98208f;
/* rgb */ color: rgb(152, 32, 143);
/* oklch */ color: oklch(48.5% 0.194 331.5);
Tailwind
colors: {
  custom: {
    50: '#ba6bb0',
    500: '#98208f',
    950: '#000000',
  },
}
SCSS
$custom: #98208f;
$custom-light: #ba6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#98208f",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 304.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.19425,
    "h": 331.5
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

primary
#98208F
secondary
#54BF5C
accent
#E84C40
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #98208F

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

Preview Lab → · Contrast checker → · Palette generator →

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