#982CD4#982CD4

#982CD4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 54.1% C 0.240 H 309.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#982CD4
RGBrgb(152, 44, 212)
HSLhsl(279, 66%, 50%)
HSVhsv(279, 79%, 83%)
CMYKcmyk(28.3%, 79.2%, 0%, 16.9%)
CIE-LABlab(43.11, 68.67, -65.16)
CIE-LCHlch(43.11, 94.67, 316.50°)
OKLaboklab(54.08% 0.1525 -0.185)
OKLCHoklch(54.08% 0.24 309.5)
XYZxyz(25.7308, 13.2308, 63.4729)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CD4 #68D42C
analogous
#442CD4 #982CD4 #D42CBC
triadic
#982CD4 #D4982C #2CD498
tetradic
#982CD4 #D4442C #68D42C #2CBCD4
square
#982CD4 #D4442C #68D42C #2CBCD4
split-complementary
#982CD4 #BCD42C #2CD444
monochromatic
#4F176F #7421A2 #982CD4 #B15FDE #CA92E9

Accessibility & contrast

On white

5.76
#982CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#982CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CD4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CD4#FFFFFF#000000##FFFFFF
##982CD41.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0067D1
Tritanopia (blue-blind)
#8F5781
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #982cd4;
/* rgb */ color: rgb(152, 44, 212);
/* oklch */ color: oklch(54.1% 0.240 309.5);
Tailwind
colors: {
  custom: {
    50: '#bc72e2',
    500: '#982cd4',
    950: '#000000',
  },
}
SCSS
$custom: #982cd4;
$custom-light: #bc72e2;
$custom-dark: #000000;
JSON
{
  "hex": "#982cd4",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 278.571,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54075,
    "c": 0.2398,
    "h": 309.5
  },
  "luminance": 0.1323
}

Semantic roles & 50–950 ramp

primary
#982CD4
secondary
#A3D388
accent
#E93F7C
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130915
muted
#827B84

Preview Lab

Preview with #982CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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