#982CD3#982CD3

#982CD3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 54.0% C 0.239 H 309.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#982CD3
RGBrgb(152, 44, 211)
HSLhsl(279, 65%, 50%)
HSVhsv(279, 79%, 83%)
CMYKcmyk(28%, 79.1%, 0%, 17.3%)
CIE-LABlab(43.03, 68.47, -64.71)
CIE-LCHlch(43.03, 94.21, 316.62°)
OKLaboklab(54% 0.1528 -0.1837)
OKLCHoklch(54% 0.239 309.7)
XYZxyz(25.6051, 13.1805, 62.8106)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CD3 #67D32C
analogous
#442CD3 #982CD3 #D32CBB
triadic
#982CD3 #D3982C #2CD398
tetradic
#982CD3 #D3442C #67D32C #2CBBD3
square
#982CD3 #D3442C #67D32C #2CBBD3
split-complementary
#982CD3 #BBD32C #2CD344
monochromatic
#4F176E #7421A0 #982CD3 #B15FDE #C991E8

Accessibility & contrast

On white

5.78
#982CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#982CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CD3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CD3#FFFFFF#000000##FFFFFF
##982CD31.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#8F5780
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #982cd3;
/* rgb */ color: rgb(152, 44, 211);
/* oklch */ color: oklch(54.0% 0.239 309.7);
Tailwind
colors: {
  custom: {
    50: '#bc72e1',
    500: '#982cd3',
    950: '#000000',
  },
}
SCSS
$custom: #982cd3;
$custom-light: #bc72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#982cd3",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 211
  },
  "hsl": {
    "h": 278.802,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.53999,
    "c": 0.23892,
    "h": 309.7
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#982CD3
secondary
#A2D388
accent
#E83F7B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #982CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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