#98208E#98208E

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

Color values

HEX#98208E
RGBrgb(152, 32, 142)
HSLhsl(305, 65%, 36%)
HSVhsv(305, 79%, 60%)
CMYKcmyk(0%, 78.9%, 6.6%, 40.4%)
CIE-LABlab(37.23, 59.53, -33.07)
CIE-LCHlch(37.23, 68.10, 330.95°)
OKLaboklab(48.46% 0.1707 -0.0911)
OKLCHoklch(48.46% 0.194 331.9)
XYZxyz(18.3479, 9.6630, 26.4847)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98208E #20982A
analogous
#662098 #98208E #982052
triadic
#98208E #8E9820 #208E98
tetradic
#98208E #986620 #20982A #205298
square
#98208E #986620 #20982A #205298
split-complementary
#98208E #529820 #209866
monochromatic
#330B30 #65155F #98208E #CB2BBD #DC57D1

Accessibility & contrast

On white

7.16
#98208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#98208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98208E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98208E#FFFFFF#000000##FFFFFF
##98208E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#495D8B
Tritanopia (blue-blind)
#9F2F56
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98208e;
/* rgb */ color: rgb(152, 32, 142);
/* oklch */ color: oklch(48.5% 0.194 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba6baf',
    500: '#98208e',
    950: '#000000',
  },
}
SCSS
$custom: #98208e;
$custom-light: #ba6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#98208e",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 305,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4846,
    "c": 0.19351,
    "h": 331.9
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#98208E
secondary
#54BF5D
accent
#E84E40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #98208E

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

Preview Lab → · Contrast checker → · Palette generator →

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