#982492#982492

#982492 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.193 H 330.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#982492
RGBrgb(152, 36, 146)
HSLhsl(303, 62%, 37%)
HSVhsv(303, 76%, 60%)
CMYKcmyk(0%, 76.3%, 3.9%, 40.4%)
CIE-LABlab(37.87, 58.97, -34.51)
CIE-LCHlch(37.87, 68.33, 329.66°)
OKLaboklab(48.99% 0.1674 -0.0953)
OKLCHoklch(48.99% 0.193 330.3)
XYZxyz(18.7680, 10.0140, 28.1330)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982492 #24982A
analogous
#642498 #982492 #982458
triadic
#982492 #929824 #249298
tetradic
#982492 #986424 #24982A #245898
square
#982492 #986424 #24982A #245898
split-complementary
#982492 #589824 #249864
monochromatic
#350D33 #671862 #982492 #C930C2 #D95ED2

Accessibility & contrast

On white

6.99
#982492 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#982492 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982492
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982492#FFFFFF#000000##FFFFFF
##9824921.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F95
Deuteranopia (green-blind)
#485F8F
Tritanopia (blue-blind)
#9E3459
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982492;
/* rgb */ color: rgb(152, 36, 146);
/* oklch */ color: oklch(49.0% 0.193 330.3);
Tailwind
colors: {
  custom: {
    50: '#ba6cb2',
    500: '#982492',
    950: '#000000',
  },
}
SCSS
$custom: #982492;
$custom-light: #ba6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#982492",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 303.103,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48987,
    "c": 0.19257,
    "h": 330.3
  },
  "luminance": 0.10012
}

Semantic roles & 50–950 ramp

primary
#982492
secondary
#5ABE5F
accent
#E54B43
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982492

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

Preview Lab → · Contrast checker → · Palette generator →

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