#982495#982495

#982495 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.195 H 329.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#982495
RGBrgb(152, 36, 149)
HSLhsl(302, 62%, 37%)
HSVhsv(302, 76%, 60%)
CMYKcmyk(0%, 76.3%, 2%, 40.4%)
CIE-LABlab(38.04, 59.46, -36.07)
CIE-LCHlch(38.04, 69.55, 328.76°)
OKLaboklab(49.16% 0.1674 -0.0998)
OKLCHoklch(49.16% 0.195 329.2)
XYZxyz(19.0044, 10.1085, 29.3781)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982495 #249827
analogous
#612498 #982495 #98245B
triadic
#982495 #959824 #249598
tetradic
#982495 #986124 #249827 #245B98
square
#982495 #986124 #249827 #245B98
split-complementary
#982495 #5B9824 #249861
monochromatic
#350D34 #671864 #982495 #C930C6 #D95ED6

Accessibility & contrast

On white

6.95
#982495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#982495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982495
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982495#FFFFFF#000000##FFFFFF
##9824951.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5098
Deuteranopia (green-blind)
#465F92
Tritanopia (blue-blind)
#9D355B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982495;
/* rgb */ color: rgb(152, 36, 149);
/* oklch */ color: oklch(49.2% 0.195 329.2);
Tailwind
colors: {
  custom: {
    50: '#ba6cb4',
    500: '#982495',
    950: '#000000',
  },
}
SCSS
$custom: #982495;
$custom-light: #ba6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#982495",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 301.552,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.19486,
    "h": 329.2
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

primary
#982495
secondary
#5ABE5D
accent
#E54743
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982495

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

Preview Lab → · Contrast checker → · Palette generator →

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