#982FD8#982FD8

#982FD8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.6% C 0.241 H 308.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#982FD8
RGBrgb(152, 47, 216)
HSLhsl(277, 68%, 52%)
HSVhsv(277, 78%, 85%)
CMYKcmyk(29.6%, 78.2%, 0%, 15.3%)
CIE-LABlab(43.75, 68.51, -66.41)
CIE-LCHlch(43.75, 95.42, 315.89°)
OKLaboklab(54.62% 0.1493 -0.1887)
OKLCHoklch(54.62% 0.241 308.3)
XYZxyz(26.3575, 13.6667, 66.2019)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FD8 #6FD82F
analogous
#442FD8 #982FD8 #D82FC4
triadic
#982FD8 #D8982F #2FD898
tetradic
#982FD8 #D8442F #6FD82F #2FC4D8
square
#982FD8 #D8442F #6FD82F #2FC4D8
split-complementary
#982FD8 #C4D82F #2FD844
monochromatic
#521676 #7620AA #982FD8 #B263E2 #CB96EB

Accessibility & contrast

On white

5.63
#982FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#982FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FD8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FD8#FFFFFF#000000##FFFFFF
##982FD81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#8E5A84
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #982fd8;
/* rgb */ color: rgb(152, 47, 216);
/* oklch */ color: oklch(54.6% 0.241 308.3);
Tailwind
colors: {
  custom: {
    50: '#bc74e5',
    500: '#982fd8',
    950: '#000000',
  },
}
SCSS
$custom: #982fd8;
$custom-light: #bc74e5;
$custom-dark: #000000;
JSON
{
  "hex": "#982fd8",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 216
  },
  "hsl": {
    "h": 277.278,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.24066,
    "h": 308.3
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#982FD8
secondary
#A8D78C
accent
#EB3D7F
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #982FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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