#983399#983399

#983399 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.181 H 327.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#983399
RGBrgb(152, 51, 153)
HSLhsl(299, 50%, 40%)
HSVhsv(299, 67%, 60%)
CMYKcmyk(0.7%, 66.7%, 0%, 40%)
CIE-LABlab(40.15, 54.77, -35.14)
CIE-LCHlch(40.15, 65.07, 327.31°)
OKLaboklab(50.76% 0.1522 -0.0972)
OKLCHoklch(50.76% 0.181 327.4)
XYZxyz(19.8822, 11.3443, 31.2733)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983399 #349933
analogous
#653399 #983399 #993367
triadic
#983399 #999833 #339998
tetradic
#983399 #996533 #349933 #336799
square
#983399 #996533 #349933 #336799
split-complementary
#983399 #679933 #339965
monochromatic
#3D143D #6A246B #983399 #C147C2 #D075D1

Accessibility & contrast

On white

6.42
#983399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#983399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983399
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983399#FFFFFF#000000##FFFFFF
##9833991.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#9C4162
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #983399;
/* rgb */ color: rgb(152, 51, 153);
/* oklch */ color: oklch(50.8% 0.181 327.4);
Tailwind
colors: {
  custom: {
    50: '#b973b7',
    500: '#983399',
    950: '#000000',
  },
}
SCSS
$custom: #983399;
$custom-light: #b973b7;
$custom-dark: #000000;
JSON
{
  "hex": "#983399",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 299.412,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.1806,
    "h": 327.4
  },
  "luminance": 0.11343
}

Semantic roles & 50–950 ramp

primary
#983399
secondary
#6FB96E
accent
#DA4E50
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #983399

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

Preview Lab → · Contrast checker → · Palette generator →

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