#98348F#98348F

#98348F is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.3% C 0.171 H 331.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#98348F
RGBrgb(152, 52, 143)
HSLhsl(305, 49%, 40%)
HSVhsv(305, 66%, 60%)
CMYKcmyk(0%, 65.8%, 5.9%, 40.4%)
CIE-LABlab(39.78, 52.63, -29.67)
CIE-LCHlch(39.78, 60.42, 330.59°)
OKLaboklab(50.31% 0.1503 -0.0814)
OKLCHoklch(50.31% 0.171 331.6)
XYZxyz(19.1348, 11.1160, 27.1191)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98348F #34983D
analogous
#6F3498 #98348F #98345D
triadic
#98348F #8F9834 #348F98
tetradic
#98348F #986F34 #34983D #345D98
square
#98348F #986F34 #34983D #345D98
split-complementary
#98348F #5D9834 #34986F
monochromatic
#3D1539 #6A2464 #98348F #C149B6 #D076C8

Accessibility & contrast

On white

6.52
#98348F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#98348F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98348F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98348F#FFFFFF#000000##FFFFFF
##98348F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5592
Deuteranopia (green-blind)
#51638C
Tritanopia (blue-blind)
#9E3E5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98348f;
/* rgb */ color: rgb(152, 52, 143);
/* oklch */ color: oklch(50.3% 0.171 331.6);
Tailwind
colors: {
  custom: {
    50: '#b973b0',
    500: '#98348f',
    950: '#000000',
  },
}
SCSS
$custom: #98348f;
$custom-light: #b973b0;
$custom-dark: #000000;
JSON
{
  "hex": "#98348f",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 305.4,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.5031,
    "c": 0.17097,
    "h": 331.6
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#98348F
secondary
#6FB976
accent
#D95C4F
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120910
muted
#817B7F

Preview Lab

Preview with #98348F

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

Preview Lab → · Contrast checker → · Palette generator →

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