#983FBB#983FBB

#983FBB is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.196 H 314.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#983FBB
RGBrgb(152, 63, 187)
HSLhsl(283, 50%, 49%)
HSVhsv(283, 66%, 73%)
CMYKcmyk(18.7%, 66.3%, 0%, 26.7%)
CIE-LABlab(43.97, 56.18, -49.26)
CIE-LCHlch(43.97, 74.72, 318.76°)
OKLaboklab(54.15% 0.1382 -0.1385)
OKLCHoklch(54.15% 0.196 314.9)
XYZxyz(23.6946, 13.8191, 48.4233)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FBB #62BB3F
analogous
#5A3FBB #983FBB #BB3FA0
triadic
#983FBB #BB983F #3FBB98
tetradic
#983FBB #BB5A3F #62BB3F #3FA0BB
square
#983FBB #BB5A3F #62BB3F #3FA0BB
split-complementary
#983FBB #A0BB3F #3FBB5A
monochromatic
#4E205F #73308D #983FBB #B16ACD #C998DC

Accessibility & contrast

On white

5.58
#983FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#983FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FBB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FBB#FFFFFF#000000##FFFFFF
##983FBB1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#955778
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #983fbb;
/* rgb */ color: rgb(152, 63, 187);
/* oklch */ color: oklch(54.1% 0.196 314.9);
Tailwind
colors: {
  custom: {
    50: '#ba7ad0',
    500: '#983fbb',
    950: '#000000',
  },
}
SCSS
$custom: #983fbb;
$custom-light: #ba7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#983fbb",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 283.065,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.19565,
    "h": 314.9
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#983FBB
secondary
#9EC88E
accent
#D94F76
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #983FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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