#98288F#98288F

#98288F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.186 H 331.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#98288F
RGBrgb(152, 40, 143)
HSLhsl(305, 58%, 38%)
HSVhsv(305, 74%, 60%)
CMYKcmyk(0%, 73.7%, 5.9%, 40.4%)
CIE-LABlab(38.16, 57.18, -32.21)
CIE-LCHlch(38.16, 65.63, 330.60°)
OKLaboklab(49.14% 0.1635 -0.0887)
OKLCHoklch(49.14% 0.186 331.5)
XYZxyz(18.6656, 10.1777, 26.9627)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98288F #289831
analogous
#692898 #98288F #982857
triadic
#98288F #8F9828 #288F98
tetradic
#98288F #986928 #289831 #285798
square
#98288F #986928 #289831 #285798
split-complementary
#98288F #579828 #289869
monochromatic
#370F34 #681B61 #98288F #C835BD #D664CD

Accessibility & contrast

On white

6.92
#98288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#98288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98288F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98288F#FFFFFF#000000##FFFFFF
##98288F1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#9E3559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98288f;
/* rgb */ color: rgb(152, 40, 143);
/* oklch */ color: oklch(49.1% 0.186 331.5);
Tailwind
colors: {
  custom: {
    50: '#ba6eb0',
    500: '#98288f',
    950: '#000000',
  },
}
SCSS
$custom: #98288f;
$custom-light: #ba6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#98288f",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 304.821,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.18599,
    "h": 331.5
  },
  "luminance": 0.10176
}

Semantic roles & 50–950 ramp

primary
#98288F
secondary
#60BC67
accent
#E25346
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #98288F

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

Preview Lab → · Contrast checker → · Palette generator →

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