#982795#982795

#982795 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.192 H 329.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#982795
RGBrgb(152, 39, 149)
HSLhsl(302, 59%, 37%)
HSVhsv(302, 74%, 60%)
CMYKcmyk(0%, 74.3%, 2%, 40.4%)
CIE-LABlab(38.37, 58.50, -35.54)
CIE-LCHlch(38.37, 68.45, 328.72°)
OKLaboklab(49.4% 0.1646 -0.0983)
OKLCHoklch(49.4% 0.192 329.2)
XYZxyz(19.0991, 10.2978, 29.4097)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982795 #27982A
analogous
#632798 #982795 #98275C
triadic
#982795 #959827 #279598
tetradic
#982795 #986327 #27982A #275C98
square
#982795 #986327 #27982A #275C98
split-complementary
#982795 #5C9827 #279863
monochromatic
#370E36 #671B65 #982795 #C933C5 #D763D4

Accessibility & contrast

On white

6.86
#982795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#982795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982795
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982795#FFFFFF#000000##FFFFFF
##9827951.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155198
Deuteranopia (green-blind)
#486092
Tritanopia (blue-blind)
#9D375C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982795;
/* rgb */ color: rgb(152, 39, 149);
/* oklch */ color: oklch(49.4% 0.192 329.2);
Tailwind
colors: {
  custom: {
    50: '#ba6db4',
    500: '#982795',
    950: '#000000',
  },
}
SCSS
$custom: #982795;
$custom-light: #ba6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#982795",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 301.593,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.19173,
    "h": 329.2
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#982795
secondary
#5EBC61
accent
#E24A45
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982795

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

Preview Lab → · Contrast checker → · Palette generator →

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