#8D62DF#8D62DF

#8D62DF is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.183 H 296.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8D62DF
RGBrgb(141, 98, 223)
HSLhsl(261, 66%, 63%)
HSVhsv(261, 56%, 87%)
CMYKcmyk(36.8%, 56.1%, 0%, 12.5%)
CIE-LABlab(51.53, 44.26, -57.90)
CIE-LCHlch(51.53, 72.88, 307.40°)
OKLaboklab(60.07% 0.0813 -0.1643)
OKLCHoklch(60.07% 0.183 296.3)
XYZxyz(28.6681, 19.7253, 72.0947)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62DF #B4DF62
analogous
#6275DF #8D62DF #CC62DF
triadic
#8D62DF #DF8D62 #62DF8D
tetradic
#8D62DF #DF6275 #B4DF62 #62DFCC
square
#8D62DF #DF6275 #B4DF62 #62DFCC
split-complementary
#8D62DF #DFCC62 #75DF62
monochromatic
#4F22A5 #682FD5 #8D62DF #B295E9 #D7C8F4

Accessibility & contrast

On white

4.25
#8D62DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8D62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62DF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62DF#FFFFFF#000000##000000
##8D62DF1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#247BE3
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#7A7C97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d62df;
/* rgb */ color: rgb(141, 98, 223);
/* oklch */ color: oklch(60.1% 0.183 296.3);
Tailwind
colors: {
  custom: {
    50: '#b390ea',
    500: '#8d62df',
    950: '#000000',
  },
}
SCSS
$custom: #8d62df;
$custom-light: #b390ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62df",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 260.64,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.18327,
    "h": 296.3
  },
  "luminance": 0.19726
}

Semantic roles & 50–950 ramp

primary
#8D62DF
secondary
#D5E5B8
accent
#CE178F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8D62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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