#8D62F6#8D62F6

#8D62F6 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.6% C 0.211 H 292.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8D62F6
RGBrgb(141, 98, 246)
HSLhsl(257, 89%, 67%)
HSVhsv(257, 60%, 96%)
CMYKcmyk(42.7%, 60.2%, 0%, 3.5%)
CIE-LABlab(53.01, 50.33, -68.41)
CIE-LCHlch(53.01, 84.93, 306.35°)
OKLaboklab(61.63% 0.0808 -0.1952)
OKLCHoklch(61.63% 0.211 292.5)
XYZxyz(31.9822, 21.0510, 89.5491)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62F6 #CBF662
analogous
#6281F6 #8D62F6 #D762F6
triadic
#8D62F6 #F68D62 #62F68D
tetradic
#8D62F6 #F66281 #CBF662 #62F6D7
square
#8D62F6 #F66281 #CBF662 #62F6D7
split-complementary
#8D62F6 #F6D762 #81F662
monochromatic
#450CD2 #6328F3 #8D62F6 #B79CF9 #E1D6FD

Accessibility & contrast

On white

4.03
#8D62F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8D62F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62F6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62F6#FFFFFF#000000##000000
##8D62F61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#6F83A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d62f6;
/* rgb */ color: rgb(141, 98, 246);
/* oklch */ color: oklch(61.6% 0.211 292.5);
Tailwind
colors: {
  custom: {
    50: '#b590fa',
    500: '#8d62f6',
    950: '#000000',
  },
}
SCSS
$custom: #8d62f6;
$custom-light: #b590fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62f6",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 257.432,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.21123,
    "h": 292.5
  },
  "luminance": 0.21052
}

Semantic roles & 50–950 ramp

primary
#8D62F6
secondary
#E4F1C3
accent
#E600A3
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8D62F6

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

Preview Lab → · Contrast checker → · Palette generator →

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