#982293#982293

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

Color values

HEX#982293
RGBrgb(152, 34, 147)
HSLhsl(303, 63%, 36%)
HSVhsv(303, 78%, 60%)
CMYKcmyk(0%, 77.6%, 3.3%, 40.4%)
CIE-LABlab(37.71, 59.74, -35.37)
CIE-LCHlch(37.71, 69.42, 329.38°)
OKLaboklab(48.89% 0.1691 -0.0977)
OKLCHoklch(48.89% 0.195 330)
XYZxyz(18.7873, 9.9275, 28.5248)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982293 #229827
analogous
#622298 #982293 #982258
triadic
#982293 #939822 #229398
tetradic
#982293 #986222 #229827 #225898
square
#982293 #986222 #229827 #225898
split-complementary
#982293 #589822 #229862
monochromatic
#340C32 #661763 #982293 #CA2DC3 #DA5AD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982293#FFFFFF#000000##FFFFFF
##9822931.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)
#0F4F96
Deuteranopia (green-blind)
#475E90
Tritanopia (blue-blind)
#9E335A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982293;
/* rgb */ color: rgb(152, 34, 147);
/* oklch */ color: oklch(48.9% 0.195 330.0);
Tailwind
colors: {
  custom: {
    50: '#ba6bb3',
    500: '#982293',
    950: '#000000',
  },
}
SCSS
$custom: #982293;
$custom-light: #ba6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#982293",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 302.542,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48894,
    "c": 0.19532,
    "h": 330
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#982293
secondary
#57BE5C
accent
#E64841
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982293

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

Preview Lab → · Contrast checker → · Palette generator →

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