#8D62D4#8D62D4

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

Color values

HEX#8D62D4
RGBrgb(141, 98, 212)
HSLhsl(263, 57%, 61%)
HSVhsv(263, 54%, 83%)
CMYKcmyk(33.5%, 53.8%, 0%, 16.9%)
CIE-LABlab(50.86, 41.42, -52.72)
CIE-LCHlch(50.86, 67.04, 308.16°)
OKLaboklab(59.37% 0.081 -0.1491)
OKLCHoklch(59.37% 0.17 298.5)
XYZxyz(27.2329, 19.1513, 64.5364)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62D4 #A9D462
analogous
#6270D4 #8D62D4 #C662D4
triadic
#8D62D4 #D48D62 #62D48D
tetradic
#8D62D4 #D46270 #A9D462 #62D4C6
square
#8D62D4 #D46270 #A9D462 #62D4C6
split-complementary
#8D62D4 #D4C662 #70D462
monochromatic
#512893 #6B35C3 #8D62D4 #B092E1 #D3C2EE

Accessibility & contrast

On white

4.35
#8D62D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8D62D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62D4
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62D4#FFFFFF#000000##000000
##8D62D41.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3479D8
Deuteranopia (green-blind)
#4178D1
Tritanopia (blue-blind)
#7E7992
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d62d4;
/* rgb */ color: rgb(141, 98, 212);
/* oklch */ color: oklch(59.4% 0.170 298.5);
Tailwind
colors: {
  custom: {
    50: '#b290e2',
    500: '#8d62d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d62d4;
$custom-light: #b290e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62d4",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 212
  },
  "hsl": {
    "h": 262.632,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59369,
    "c": 0.16965,
    "h": 298.5
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#8D62D4
secondary
#CEDEB3
accent
#C52187
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D62D4

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

Preview Lab → · Contrast checker → · Palette generator →

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