#8D62FB#8D62FB

#8D62FB is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 62.0% C 0.217 H 291.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8D62FB
RGBrgb(141, 98, 251)
HSLhsl(257, 95%, 68%)
HSVhsv(257, 61%, 98%)
CMYKcmyk(43.8%, 61%, 0%, 1.6%)
CIE-LABlab(53.34, 51.67, -70.64)
CIE-LCHlch(53.34, 87.52, 306.19°)
OKLaboklab(61.98% 0.0805 -0.2017)
OKLCHoklch(61.98% 0.217 291.7)
XYZxyz(32.7600, 21.3621, 93.6453)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62FB #D0FB62
analogous
#6283FB #8D62FB #DA62FB
triadic
#8D62FB #FB8D62 #62FB8D
tetradic
#8D62FB #FB6283 #D0FB62 #62FBDA
square
#8D62FB #FB6283 #D0FB62 #62FBDA
split-complementary
#8D62FB #FBDA62 #83FB62
monochromatic
#4206DD #6226F9 #8D62FB #B89EFD #E4D9FE

Accessibility & contrast

On white

3.98
#8D62FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8D62FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62FB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62FB#FFFFFF#000000##000000
##8D62FB1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#007CF8
Tritanopia (blue-blind)
#6D85A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d62fb;
/* rgb */ color: rgb(141, 98, 251);
/* oklch */ color: oklch(62.0% 0.217 291.7);
Tailwind
colors: {
  custom: {
    50: '#b590fe',
    500: '#8d62fb',
    950: '#000000',
  },
}
SCSS
$custom: #8d62fb;
$custom-light: #b590fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62fb",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 256.863,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6198,
    "c": 0.2172,
    "h": 291.7
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#8D62FB
secondary
#E6F3C5
accent
#E600A5
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8D62FB

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

Preview Lab → · Contrast checker → · Palette generator →

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