#982295#982295

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

Color values

HEX#982295
RGBrgb(152, 34, 149)
HSLhsl(302, 63%, 36%)
HSVhsv(302, 78%, 60%)
CMYKcmyk(0%, 77.6%, 2%, 40.4%)
CIE-LABlab(37.83, 60.07, -36.40)
CIE-LCHlch(37.83, 70.24, 328.78°)
OKLaboklab(49.01% 0.1691 -0.1008)
OKLCHoklch(49.01% 0.197 329.2)
XYZxyz(18.9456, 9.9908, 29.3585)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982295 #229825
analogous
#602298 #982295 #98225A
triadic
#982295 #959822 #229598
tetradic
#982295 #986022 #229825 #225A98
square
#982295 #986022 #229825 #225A98
split-complementary
#982295 #5A9822 #229860
monochromatic
#340C33 #661764 #982295 #CA2DC6 #DA5AD7

Accessibility & contrast

On white

7.01
#982295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982295
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982295#FFFFFF#000000##FFFFFF
##9822951.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F98
Deuteranopia (green-blind)
#465E92
Tritanopia (blue-blind)
#9D345B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982295;
/* rgb */ color: rgb(152, 34, 149);
/* oklch */ color: oklch(49.0% 0.197 329.2);
Tailwind
colors: {
  custom: {
    50: '#ba6cb4',
    500: '#982295',
    950: '#000000',
  },
}
SCSS
$custom: #982295;
$custom-light: #ba6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#982295",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 301.525,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49012,
    "c": 0.19683,
    "h": 329.2
  },
  "luminance": 0.09989
}

Semantic roles & 50–950 ramp

primary
#982295
secondary
#57BE5A
accent
#E64641
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982295

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

Preview Lab → · Contrast checker → · Palette generator →

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