#983ED7#983ED7

#983ED7 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.224 H 307.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#983ED7
RGBrgb(152, 62, 215)
HSLhsl(275, 66%, 54%)
HSVhsv(275, 71%, 84%)
CMYKcmyk(29.3%, 71.2%, 0%, 15.7%)
CIE-LABlab(45.67, 62.59, -62.72)
CIE-LCHlch(45.67, 88.61, 314.94°)
OKLaboklab(55.95% 0.1364 -0.178)
OKLCHoklch(55.95% 0.224 307.5)
XYZxyz(26.9347, 15.0273, 65.7584)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983ED7 #7DD73E
analogous
#4C3ED7 #983ED7 #D73ECA
triadic
#983ED7 #D7983E #3ED798
tetradic
#983ED7 #D74C3E #7DD73E #3ECAD7
square
#983ED7 #D74C3E #7DD73E #3ECAD7
split-complementary
#983ED7 #CAD73E #3ED74C
monochromatic
#561B80 #7825B3 #983ED7 #B371E2 #CEA3EC

Accessibility & contrast

On white

5.24
#983ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#983ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983ED7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983ED7#FFFFFF#000000##FFFFFF
##983ED71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#066DD4
Tritanopia (blue-blind)
#8E6187
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #983ed7;
/* rgb */ color: rgb(152, 62, 215);
/* oklch */ color: oklch(55.9% 0.224 307.5);
Tailwind
colors: {
  custom: {
    50: '#bb7be4',
    500: '#983ed7',
    950: '#000000',
  },
}
SCSS
$custom: #983ed7;
$custom-light: #bb7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#983ed7",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 275.294,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55949,
    "c": 0.22422,
    "h": 307.5
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#983ED7
secondary
#B3D998
accent
#E93F85
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #983ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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