#982494#982494

#982494 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.194 H 329.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#982494
RGBrgb(152, 36, 148)
HSLhsl(302, 62%, 37%)
HSVhsv(302, 76%, 60%)
CMYKcmyk(0%, 76.3%, 2.6%, 40.4%)
CIE-LABlab(37.98, 59.30, -35.55)
CIE-LCHlch(37.98, 69.14, 329.06°)
OKLaboklab(49.1% 0.1674 -0.0983)
OKLCHoklch(49.1% 0.194 329.6)
XYZxyz(18.9249, 10.0767, 28.9595)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982494 #249828
analogous
#622498 #982494 #98245A
triadic
#982494 #949824 #249498
tetradic
#982494 #986224 #249828 #245A98
square
#982494 #986224 #249828 #245A98
split-complementary
#982494 #5A9824 #249862
monochromatic
#350D34 #671864 #982494 #C930C4 #D95ED5

Accessibility & contrast

On white

6.97
#982494 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#982494 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982494
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982494#FFFFFF#000000##FFFFFF
##9824941.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115097
Deuteranopia (green-blind)
#475F91
Tritanopia (blue-blind)
#9E355B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982494;
/* rgb */ color: rgb(152, 36, 148);
/* oklch */ color: oklch(49.1% 0.194 329.6);
Tailwind
colors: {
  custom: {
    50: '#ba6cb4',
    500: '#982494',
    950: '#000000',
  },
}
SCSS
$custom: #982494;
$custom-light: #ba6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#982494",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 302.069,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.1941,
    "h": 329.6
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#982494
secondary
#5ABE5E
accent
#E54943
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982494

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

Preview Lab → · Contrast checker → · Palette generator →

#982494 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva