#982FD3#982FD3

#982FD3 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.2% C 0.236 H 309.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#982FD3
RGBrgb(152, 47, 211)
HSLhsl(278, 65%, 51%)
HSVhsv(278, 78%, 83%)
CMYKcmyk(28%, 77.7%, 0%, 17.3%)
CIE-LABlab(43.38, 67.47, -64.15)
CIE-LCHlch(43.38, 93.10, 316.45°)
OKLaboklab(54.24% 0.1504 -0.1821)
OKLCHoklch(54.24% 0.236 309.6)
XYZxyz(25.7209, 13.4121, 62.8492)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FD3 #6AD32F
analogous
#462FD3 #982FD3 #D32FBC
triadic
#982FD3 #D3982F #2FD398
tetradic
#982FD3 #D3462F #6AD32F #2FBCD3
square
#982FD3 #D3462F #6AD32F #2FBCD3
split-complementary
#982FD3 #BCD32F #2FD346
monochromatic
#501870 #7422A2 #982FD3 #B162DE #CA94E8

Accessibility & contrast

On white

5.70
#982FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#982FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FD3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FD3#FFFFFF#000000##FFFFFF
##982FD31.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#8F5881
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #982fd3;
/* rgb */ color: rgb(152, 47, 211);
/* oklch */ color: oklch(54.2% 0.236 309.6);
Tailwind
colors: {
  custom: {
    50: '#bc74e1',
    500: '#982fd3',
    950: '#000000',
  },
}
SCSS
$custom: #982fd3;
$custom-light: #bc74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#982fd3",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 211
  },
  "hsl": {
    "h": 278.415,
    "s": 65.079,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54239,
    "c": 0.23619,
    "h": 309.6
  },
  "luminance": 0.13412
}

Semantic roles & 50–950 ramp

primary
#982FD3
secondary
#A5D38A
accent
#E8407C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #982FD3

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

Preview Lab → · Contrast checker → · Palette generator →

#982FD3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva