#983CA8#983CA8

#983CA8 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.6% C 0.182 H 321.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#983CA8
RGBrgb(152, 60, 168)
HSLhsl(291, 47%, 45%)
HSVhsv(291, 64%, 66%)
CMYKcmyk(9.5%, 64.3%, 0%, 34.1%)
CIE-LABlab(42.36, 53.71, -40.63)
CIE-LCHlch(42.36, 67.35, 322.90°)
OKLaboklab(52.62% 0.1421 -0.1132)
OKLCHoklch(52.62% 0.182 321.4)
XYZxyz(21.6319, 12.7354, 38.3569)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983CA8 #4CA83C
analogous
#623CA8 #983CA8 #A83C82
triadic
#983CA8 #A8983C #3CA898
tetradic
#983CA8 #A8623C #4CA83C #3C82A8
square
#983CA8 #A8623C #4CA83C #3C82A8
split-complementary
#983CA8 #82A83C #3CA862
monochromatic
#461C4E #6F2C7B #983CA8 #B55CC5 #CA89D5

Accessibility & contrast

On white

5.92
#983CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#983CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983CA8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983CA8#FFFFFF#000000##FFFFFF
##983CA81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215DAB
Deuteranopia (green-blind)
#4867A5
Tritanopia (blue-blind)
#994E6D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #983ca8;
/* rgb */ color: rgb(152, 60, 168);
/* oklch */ color: oklch(52.6% 0.182 321.4);
Tailwind
colors: {
  custom: {
    50: '#b978c2',
    500: '#983ca8',
    950: '#000000',
  },
}
SCSS
$custom: #983ca8;
$custom-light: #b978c2;
$custom-dark: #000000;
JSON
{
  "hex": "#983ca8",
  "rgb": {
    "r": 152,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 291.111,
    "s": 47.368,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.18166,
    "h": 321.4
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#983CA8
secondary
#8ABF80
accent
#D75165
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120912
muted
#817B81

Preview Lab

Preview with #983CA8

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

Preview Lab → · Contrast checker → · Palette generator →

#983CA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva