#8B62DD#8B62DD

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

Color values

HEX#8B62DD
RGBrgb(139, 98, 221)
HSLhsl(260, 64%, 63%)
HSVhsv(260, 56%, 87%)
CMYKcmyk(37.1%, 55.7%, 0%, 13.3%)
CIE-LABlab(51.20, 43.27, -57.29)
CIE-LCHlch(51.20, 71.80, 307.06°)
OKLaboklab(59.75% 0.0787 -0.1626)
OKLCHoklch(59.75% 0.181 295.8)
XYZxyz(28.0629, 19.4443, 70.6672)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B62DD #B4DD62
analogous
#6276DD #8B62DD #C962DD
triadic
#8B62DD #DD8B62 #62DD8B
tetradic
#8B62DD #DD6276 #B4DD62 #62DDC9
square
#8B62DD #DD6276 #B4DD62 #62DDC9
split-complementary
#8B62DD #DDC962 #76DD62
monochromatic
#4D23A2 #6630D2 #8B62DD #B094E8 #D5C7F3

Accessibility & contrast

On white

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

On black

4.89
#8B62DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B62DD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B62DD#FFFFFF#000000##000000
##8B62DD1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#267BE1
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#777C96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b62dd;
/* rgb */ color: rgb(139, 98, 221);
/* oklch */ color: oklch(59.7% 0.181 295.8);
Tailwind
colors: {
  custom: {
    50: '#b190e8',
    500: '#8b62dd',
    950: '#000000',
  },
}
SCSS
$custom: #8b62dd;
$custom-light: #b190e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b62dd",
  "rgb": {
    "r": 139,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 260,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.1806,
    "h": 295.8
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#8B62DD
secondary
#D5E4B7
accent
#CC1991
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8B62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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