#98298C#98298C

#98298C is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.183 H 332.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#98298C
RGBrgb(152, 41, 140)
HSLhsl(306, 58%, 38%)
HSVhsv(306, 73%, 60%)
CMYKcmyk(0%, 73%, 7.9%, 40.4%)
CIE-LABlab(38.12, 56.36, -30.44)
CIE-LCHlch(38.12, 64.05, 331.63°)
OKLaboklab(49.06% 0.1623 -0.0835)
OKLCHoklch(49.06% 0.183 332.8)
XYZxyz(18.4755, 10.1563, 25.7931)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98298C #299835
analogous
#6C2998 #98298C #982955
triadic
#98298C #8C9829 #298C98
tetradic
#98298C #986C29 #299835 #295598
square
#98298C #986C29 #299835 #295598
split-complementary
#98298C #559829 #29986C
monochromatic
#380F33 #681C60 #98298C #C836B8 #D666CA

Accessibility & contrast

On white

6.93
#98298C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#98298C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98298C
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98298C#FFFFFF#000000##FFFFFF
##98298C1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24508F
Deuteranopia (green-blind)
#4D5F89
Tritanopia (blue-blind)
#9F3458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98298c;
/* rgb */ color: rgb(152, 41, 140);
/* oklch */ color: oklch(49.1% 0.183 332.8);
Tailwind
colors: {
  custom: {
    50: '#ba6eae',
    500: '#98298c',
    950: '#000000',
  },
}
SCSS
$custom: #98298c;
$custom-light: #ba6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#98298c",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 306.486,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49064,
    "c": 0.18257,
    "h": 332.8
  },
  "luminance": 0.10155
}

Semantic roles & 50–950 ramp

primary
#98298C
secondary
#61BC6B
accent
#E15847
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98298C

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

Preview Lab → · Contrast checker → · Palette generator →

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