#982195#982195

#982195 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.198 H 329.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#982195
RGBrgb(152, 33, 149)
HSLhsl(302, 64%, 36%)
HSVhsv(302, 78%, 60%)
CMYKcmyk(0%, 78.3%, 2%, 40.4%)
CIE-LABlab(37.72, 60.36, -36.57)
CIE-LCHlch(37.72, 70.57, 328.79°)
OKLaboklab(48.94% 0.1699 -0.1012)
OKLCHoklch(48.94% 0.198 329.2)
XYZxyz(18.9174, 9.9345, 29.3491)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982195 #219824
analogous
#602198 #982195 #98215A
triadic
#982195 #959821 #219598
tetradic
#982195 #986021 #219824 #215A98
square
#982195 #986021 #219824 #215A98
split-complementary
#982195 #5A9821 #219860
monochromatic
#330B32 #661664 #982195 #CA2CC6 #DB59D8

Accessibility & contrast

On white

7.03
#982195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#982195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982195
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982195#FFFFFF#000000##FFFFFF
##9821951.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074F98
Deuteranopia (green-blind)
#455E92
Tritanopia (blue-blind)
#9D345A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982195;
/* rgb */ color: rgb(152, 33, 149);
/* oklch */ color: oklch(48.9% 0.198 329.2);
Tailwind
colors: {
  custom: {
    50: '#ba6bb4',
    500: '#982195',
    950: '#000000',
  },
}
SCSS
$custom: #982195;
$custom-light: #ba6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#982195",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 301.513,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.19779,
    "h": 329.2
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#982195
secondary
#56BF59
accent
#E74540
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982195

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

Preview Lab → · Contrast checker → · Palette generator →

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