#983FBA#983FBA

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

Color values

HEX#983FBA
RGBrgb(152, 63, 186)
HSLhsl(283, 49%, 49%)
HSVhsv(283, 66%, 73%)
CMYKcmyk(18.3%, 66.1%, 0%, 27.1%)
CIE-LABlab(43.91, 55.98, -48.77)
CIE-LCHlch(43.91, 74.24, 318.93°)
OKLaboklab(54.08% 0.1383 -0.137)
OKLCHoklch(54.08% 0.195 315.3)
XYZxyz(23.5879, 13.7764, 47.8614)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FBA #61BA3F
analogous
#5B3FBA #983FBA #BA3F9F
triadic
#983FBA #BA983F #3FBA98
tetradic
#983FBA #BA5B3F #61BA3F #3F9FBA
square
#983FBA #BA5B3F #61BA3F #3F9FBA
split-complementary
#983FBA #9FBA3F #3FBA5B
monochromatic
#4D205F #73308C #983FBA #B16ACC #C997DC

Accessibility & contrast

On white

5.59
#983FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #983FBA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FBA#FFFFFF#000000##FFFFFF
##983FBA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#955677
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #983fba;
/* rgb */ color: rgb(152, 63, 186);
/* oklch */ color: oklch(54.1% 0.195 315.3);
Tailwind
colors: {
  custom: {
    50: '#ba7acf',
    500: '#983fba',
    950: '#000000',
  },
}
SCSS
$custom: #983fba;
$custom-light: #ba7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#983fba",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 283.415,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54081,
    "c": 0.19468,
    "h": 315.3
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#983FBA
secondary
#9DC88D
accent
#D94F75
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #983FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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