#983299#983299

#983299 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.182 H 327.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#983299
RGBrgb(152, 50, 153)
HSLhsl(299, 51%, 40%)
HSVhsv(299, 67%, 60%)
CMYKcmyk(0.7%, 67.3%, 0%, 40%)
CIE-LABlab(40.01, 55.17, -35.37)
CIE-LCHlch(40.01, 65.53, 327.34°)
OKLaboklab(50.65% 0.1533 -0.0979)
OKLCHoklch(50.65% 0.182 327.5)
XYZxyz(19.8390, 11.2579, 31.2589)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983299 #339932
analogous
#643299 #983299 #993267
triadic
#983299 #999832 #329998
tetradic
#983299 #996432 #339932 #326799
square
#983299 #996432 #339932 #326799
split-complementary
#983299 #679932 #329964
monochromatic
#3C143D #6A236B #983299 #C146C2 #D174D2

Accessibility & contrast

On white

6.46
#983299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#983299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983299
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983299#FFFFFF#000000##FFFFFF
##9832991.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#9D4161
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #983299;
/* rgb */ color: rgb(152, 50, 153);
/* oklch */ color: oklch(50.7% 0.182 327.5);
Tailwind
colors: {
  custom: {
    50: '#b973b7',
    500: '#983299',
    950: '#000000',
  },
}
SCSS
$custom: #983299;
$custom-light: #b973b7;
$custom-dark: #000000;
JSON
{
  "hex": "#983299",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 299.417,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.1819,
    "h": 327.5
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#983299
secondary
#6EBA6D
accent
#DA4E4F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #983299

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

Preview Lab → · Contrast checker → · Palette generator →

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