#983DC8#983DC8

#983DC8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.8% C 0.211 H 311.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#983DC8
RGBrgb(152, 61, 200)
HSLhsl(279, 56%, 51%)
HSVhsv(279, 70%, 78%)
CMYKcmyk(24%, 69.5%, 0%, 21.6%)
CIE-LABlab(44.50, 59.78, -55.99)
CIE-LCHlch(44.50, 81.90, 316.88°)
OKLaboklab(54.79% 0.1393 -0.1582)
OKLCHoklch(54.79% 0.211 311.4)
XYZxyz(25.0410, 14.1836, 56.0510)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983DC8 #6DC83D
analogous
#523DC8 #983DC8 #C83DB2
triadic
#983DC8 #C8983D #3DC898
tetradic
#983DC8 #C8523D #6DC83D #3DB2C8
square
#983DC8 #C8523D #6DC83D #3DB2C8
split-complementary
#983DC8 #B2C83D #3DC852
monochromatic
#511F6C #752C9C #983DC8 #B16DD6 #CB9CE3

Accessibility & contrast

On white

5.47
#983DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#983DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983DC8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983DC8#FFFFFF#000000##FFFFFF
##983DC81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#2B6BC5
Tritanopia (blue-blind)
#925B7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #983dc8;
/* rgb */ color: rgb(152, 61, 200);
/* oklch */ color: oklch(54.8% 0.211 311.4);
Tailwind
colors: {
  custom: {
    50: '#bb7ad9',
    500: '#983dc8',
    950: '#000000',
  },
}
SCSS
$custom: #983dc8;
$custom-light: #bb7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#983dc8",
  "rgb": {
    "r": 152,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 279.281,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54787,
    "c": 0.21081,
    "h": 311.4
  },
  "luminance": 0.14183
}

Semantic roles & 50–950 ramp

primary
#983DC8
secondary
#A7CF92
accent
#DF497D
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #983DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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