#983791#983791

#983791 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.7% C 0.168 H 330.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#983791
RGBrgb(152, 55, 145)
HSLhsl(304, 47%, 41%)
HSVhsv(304, 64%, 60%)
CMYKcmyk(0%, 63.8%, 4.6%, 40.4%)
CIE-LABlab(40.33, 51.70, -30.01)
CIE-LCHlch(40.33, 59.78, 329.87°)
OKLaboklab(50.75% 0.1469 -0.0824)
OKLCHoklch(50.75% 0.168 330.7)
XYZxyz(19.4258, 11.4535, 27.9702)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983791 #37983E
analogous
#6E3798 #983791 #983760
triadic
#983791 #919837 #379198
tetradic
#983791 #986E37 #37983E #376098
square
#983791 #986E37 #37983E #376098
split-complementary
#983791 #609837 #37986E
monochromatic
#3E163B #6B2766 #983791 #BF4DB7 #CF7AC9

Accessibility & contrast

On white

6.38
#983791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#983791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983791
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983791#FFFFFF#000000##FFFFFF
##9837911.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305694
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#9E415F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #983791;
/* rgb */ color: rgb(152, 55, 145);
/* oklch */ color: oklch(50.7% 0.168 330.7);
Tailwind
colors: {
  custom: {
    50: '#b975b1',
    500: '#983791',
    950: '#000000',
  },
}
SCSS
$custom: #983791;
$custom-light: #b975b1;
$custom-dark: #000000;
JSON
{
  "hex": "#983791",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 145
  },
  "hsl": {
    "h": 304.33,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.16842,
    "h": 330.7
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#983791
secondary
#73B878
accent
#D65B51
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120911
muted
#817B80

Preview Lab

Preview with #983791

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

Preview Lab → · Contrast checker → · Palette generator →

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