#98289F#98289F

#98289F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.199 H 325.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#98289F
RGBrgb(152, 40, 159)
HSLhsl(296, 60%, 39%)
HSVhsv(296, 75%, 62%)
CMYKcmyk(4.4%, 74.8%, 0%, 37.6%)
CIE-LABlab(39.07, 59.87, -40.49)
CIE-LCHlch(39.07, 72.27, 325.93°)
OKLaboklab(50.09% 0.1635 -0.1127)
OKLCHoklch(50.09% 0.199 325.4)
XYZxyz(19.9652, 10.6975, 33.8074)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98289F #2F9F28
analogous
#5D289F #98289F #9F286B
triadic
#98289F #9F9828 #289F98
tetradic
#98289F #9F5D28 #2F9F28 #286B9F
square
#98289F #9F5D28 #2F9F28 #286B9F
split-complementary
#98289F #6B9F28 #289F5D
monochromatic
#3B0F3D #691C6E #98289F #C437CD #D268D9

Accessibility & contrast

On white

6.69
#98289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#98289F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98289F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98289F#FFFFFF#000000##FFFFFF
##98289F1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#42619C
Tritanopia (blue-blind)
#9C3D62
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98289f;
/* rgb */ color: rgb(152, 40, 159);
/* oklch */ color: oklch(50.1% 0.199 325.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ebc',
    500: '#98289f',
    950: '#000000',
  },
}
SCSS
$custom: #98289f;
$custom-light: #ba6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#98289f",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 296.471,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50085,
    "c": 0.1986,
    "h": 325.4
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#98289F
secondary
#69BF64
accent
#E3454E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #98289F

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

Preview Lab → · Contrast checker → · Palette generator →

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