#8D62D5#8D62D5

#8D62D5 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.4% C 0.171 H 298.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D62D5
RGBrgb(141, 98, 213)
HSLhsl(262, 58%, 61%)
HSVhsv(262, 54%, 84%)
CMYKcmyk(33.8%, 54%, 0%, 16.5%)
CIE-LABlab(50.92, 41.68, -53.19)
CIE-LCHlch(50.92, 67.58, 308.08°)
OKLaboklab(59.43% 0.081 -0.1505)
OKLCHoklch(59.43% 0.171 298.3)
XYZxyz(27.3595, 19.2019, 65.2028)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62D5 #AAD562
analogous
#6270D5 #8D62D5 #C662D5
triadic
#8D62D5 #D58D62 #62D58D
tetradic
#8D62D5 #D56270 #AAD562 #62D5C6
square
#8D62D5 #D56270 #AAD562 #62D5C6
split-complementary
#8D62D5 #D5C662 #70D562
monochromatic
#512895 #6B35C5 #8D62D5 #B092E2 #D3C3EF

Accessibility & contrast

On white

4.34
#8D62D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8D62D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62D5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62D5#FFFFFF#000000##000000
##8D62D51.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3379D9
Deuteranopia (green-blind)
#4078D2
Tritanopia (blue-blind)
#7D7992
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d62d5;
/* rgb */ color: rgb(141, 98, 213);
/* oklch */ color: oklch(59.4% 0.171 298.3);
Tailwind
colors: {
  custom: {
    50: '#b290e2',
    500: '#8d62d5',
    950: '#000000',
  },
}
SCSS
$custom: #8d62d5;
$custom-light: #b290e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62d5",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 213
  },
  "hsl": {
    "h": 262.435,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59432,
    "c": 0.17089,
    "h": 298.3
  },
  "luminance": 0.19202
}

Semantic roles & 50–950 ramp

primary
#8D62D5
secondary
#CFDFB4
accent
#C52088
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D62D5

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

Preview Lab → · Contrast checker → · Palette generator →

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