#982FD2#982FD2

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

Color values

HEX#982FD2
RGBrgb(152, 47, 210)
HSLhsl(279, 64%, 50%)
HSVhsv(279, 78%, 82%)
CMYKcmyk(27.6%, 77.6%, 0%, 17.6%)
CIE-LABlab(43.30, 67.26, -63.69)
CIE-LCHlch(43.30, 92.64, 316.56°)
OKLaboklab(54.17% 0.1507 -0.1807)
OKLCHoklch(54.17% 0.235 309.8)
XYZxyz(25.5959, 13.3621, 62.1910)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FD2 #69D22F
analogous
#462FD2 #982FD2 #D22FBB
triadic
#982FD2 #D2982F #2FD298
tetradic
#982FD2 #D2462F #69D22F #2FBBD2
square
#982FD2 #D2462F #69D22F #2FBBD2
split-complementary
#982FD2 #BBD22F #2FD246
monochromatic
#50186F #7423A1 #982FD2 #B161DD #CA94E8

Accessibility & contrast

On white

5.72
#982FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#982FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FD2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FD2#FFFFFF#000000##FFFFFF
##982FD21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#905880
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #982fd2;
/* rgb */ color: rgb(152, 47, 210);
/* oklch */ color: oklch(54.2% 0.235 309.8);
Tailwind
colors: {
  custom: {
    50: '#bc74e1',
    500: '#982fd2',
    950: '#000000',
  },
}
SCSS
$custom: #982fd2;
$custom-light: #bc74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#982fd2",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 278.65,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54165,
    "c": 0.23529,
    "h": 309.8
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#982FD2
secondary
#A4D38A
accent
#E7407C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #982FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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