#8B62DC#8B62DC

#8B62DC is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.179 H 296.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8B62DC
RGBrgb(139, 98, 220)
HSLhsl(260, 64%, 62%)
HSVhsv(260, 55%, 86%)
CMYKcmyk(36.8%, 55.5%, 0%, 13.7%)
CIE-LABlab(51.14, 43.01, -56.83)
CIE-LCHlch(51.14, 71.27, 307.12°)
OKLaboklab(59.68% 0.0787 -0.1612)
OKLCHoklch(59.68% 0.179 296)
XYZxyz(27.9301, 19.3911, 69.9676)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B62DC #B3DC62
analogous
#6276DC #8B62DC #C862DC
triadic
#8B62DC #DC8B62 #62DC8B
tetradic
#8B62DC #DC6276 #B3DC62 #62DCC8
square
#8B62DC #DC6276 #B3DC62 #62DCC8
split-complementary
#8B62DC #DCC862 #76DC62
monochromatic
#4D24A0 #6630D1 #8B62DC #B094E7 #D5C6F2

Accessibility & contrast

On white

4.30
#8B62DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8B62DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B62DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B62DC#FFFFFF#000000##000000
##8B62DC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE0
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#787B96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b62dc;
/* rgb */ color: rgb(139, 98, 220);
/* oklch */ color: oklch(59.7% 0.179 296.0);
Tailwind
colors: {
  custom: {
    50: '#b190e7',
    500: '#8b62dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b62dc;
$custom-light: #b190e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b62dc",
  "rgb": {
    "r": 139,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 260.164,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59682,
    "c": 0.17937,
    "h": 296
  },
  "luminance": 0.19392
}

Semantic roles & 50–950 ramp

primary
#8B62DC
secondary
#D4E3B7
accent
#CB1A90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B62DC

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

Preview Lab → · Contrast checker → · Palette generator →

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