#8D62BC#8D62BC

#8D62BC is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.9% C 0.140 H 304.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D62BC
RGBrgb(141, 98, 188)
HSLhsl(269, 40%, 56%)
HSVhsv(269, 48%, 74%)
CMYKcmyk(25%, 47.9%, 0%, 26.3%)
CIE-LABlab(49.53, 35.43, -41.07)
CIE-LCHlch(49.53, 54.24, 310.79°)
OKLaboklab(57.95% 0.079 -0.115)
OKLCHoklch(57.95% 0.14 304.5)
XYZxyz(24.4274, 18.0290, 49.7603)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62BC #91BC62
analogous
#6264BC #8D62BC #BA62BC
triadic
#8D62BC #BC8D62 #62BC8D
tetradic
#8D62BC #BC6264 #91BC62 #62BCBA
square
#8D62BC #BC6264 #91BC62 #62BCBA
split-complementary
#8D62BC #BCBA62 #64BC62
monochromatic
#503173 #6E439E #8D62BC #AC8DCE #CBB8E1

Accessibility & contrast

On white

4.56
#8D62BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8D62BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62BC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62BC#FFFFFF#000000##000000
##8D62BC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#857286
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d62bc;
/* rgb */ color: rgb(141, 98, 188);
/* oklch */ color: oklch(57.9% 0.140 304.5);
Tailwind
colors: {
  custom: {
    50: '#b08fd0',
    500: '#8d62bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d62bc;
$custom-light: #b08fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62bc",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 268.667,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57948,
    "c": 0.13951,
    "h": 304.5
  },
  "luminance": 0.18029
}

Semantic roles & 50–950 ramp

primary
#8D62BC
secondary
#BECFAA
accent
#D05897
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8D62BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8D62BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva