#982095#982095

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

Color values

HEX#982095
RGBrgb(152, 32, 149)
HSLhsl(302, 65%, 36%)
HSVhsv(302, 79%, 60%)
CMYKcmyk(0%, 78.9%, 2%, 40.4%)
CIE-LABlab(37.63, 60.64, -36.72)
CIE-LCHlch(37.63, 70.89, 328.80°)
OKLaboklab(48.87% 0.1707 -0.1017)
OKLCHoklch(48.87% 0.199 329.2)
XYZxyz(18.8901, 9.8798, 29.3400)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982095 #209823
analogous
#5F2098 #982095 #982059
triadic
#982095 #959820 #209598
tetradic
#982095 #985F20 #209823 #205998
square
#982095 #985F20 #209823 #205998
split-complementary
#982095 #599820 #20985F
monochromatic
#330B32 #651563 #982095 #CB2BC7 #DC57D8

Accessibility & contrast

On white

7.06
#982095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#982095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982095
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982095#FFFFFF#000000##FFFFFF
##9820951.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054E98
Deuteranopia (green-blind)
#455E92
Tritanopia (blue-blind)
#9D335A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982095;
/* rgb */ color: rgb(152, 32, 149);
/* oklch */ color: oklch(48.9% 0.199 329.2);
Tailwind
colors: {
  custom: {
    50: '#ba6bb4',
    500: '#982095',
    950: '#000000',
  },
}
SCSS
$custom: #982095;
$custom-light: #ba6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#982095",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 301.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4887,
    "c": 0.19871,
    "h": 329.2
  },
  "luminance": 0.09878
}

Semantic roles & 50–950 ramp

primary
#982095
secondary
#54BF57
accent
#E84440
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #982095

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

Preview Lab → · Contrast checker → · Palette generator →

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