#983397#983397

#983397 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.6% C 0.179 H 328.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#983397
RGBrgb(152, 51, 151)
HSLhsl(301, 50%, 40%)
HSVhsv(301, 66%, 60%)
CMYKcmyk(0%, 66.4%, 0.7%, 40.4%)
CIE-LABlab(40.05, 54.41, -34.10)
CIE-LCHlch(40.05, 64.22, 327.92°)
OKLaboklab(50.64% 0.1521 -0.0942)
OKLCHoklch(50.64% 0.179 328.2)
XYZxyz(19.7184, 11.2788, 30.4106)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983397 #339834
analogous
#673398 #983397 #983365
triadic
#983397 #979833 #339798
tetradic
#983397 #986733 #339834 #336598
square
#983397 #986733 #339834 #336598
split-complementary
#983397 #659833 #339867
monochromatic
#3C143C #6A2469 #983397 #C147C0 #D175D0

Accessibility & contrast

On white

6.45
#983397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#983397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983397
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983397#FFFFFF#000000##FFFFFF
##9833971.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#9D4061
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #983397;
/* rgb */ color: rgb(152, 51, 151);
/* oklch */ color: oklch(50.6% 0.179 328.2);
Tailwind
colors: {
  custom: {
    50: '#b973b6',
    500: '#983397',
    950: '#000000',
  },
}
SCSS
$custom: #983397;
$custom-light: #b973b6;
$custom-dark: #000000;
JSON
{
  "hex": "#983397",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 300.594,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.17891,
    "h": 328.2
  },
  "luminance": 0.11277
}

Semantic roles & 50–950 ramp

primary
#983397
secondary
#6EB96F
accent
#D9504F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #983397

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

Preview Lab → · Contrast checker → · Palette generator →

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