#8A62D0#8A62D0

#8A62D0 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.8% C 0.164 H 297.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A62D0
RGBrgb(138, 98, 208)
HSLhsl(262, 54%, 60%)
HSVhsv(262, 53%, 82%)
CMYKcmyk(33.7%, 52.9%, 0%, 18.4%)
CIE-LABlab(50.33, 39.65, -51.32)
CIE-LCHlch(50.33, 64.85, 307.69°)
OKLaboklab(58.83% 0.077 -0.1451)
OKLCHoklch(58.83% 0.164 297.9)
XYZxyz(26.2313, 18.6924, 61.8883)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62D0 #A8D062
analogous
#6271D0 #8A62D0 #C162D0
triadic
#8A62D0 #D08A62 #62D08A
tetradic
#8A62D0 #D06271 #A8D062 #62D0C1
square
#8A62D0 #D06271 #A8D062 #62D0C1
split-complementary
#8A62D0 #D0C162 #71D062
monochromatic
#4E2A8D #6838BC #8A62D0 #AD91DE #D0C0EC

Accessibility & contrast

On white

4.43
#8A62D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A62D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62D0
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62D0#FFFFFF#000000##000000
##8A62D01.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3778D4
Deuteranopia (green-blind)
#4277CD
Tritanopia (blue-blind)
#7B7890
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a62d0;
/* rgb */ color: rgb(138, 98, 208);
/* oklch */ color: oklch(58.8% 0.164 297.9);
Tailwind
colors: {
  custom: {
    50: '#b090df',
    500: '#8a62d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a62d0;
$custom-light: #b090df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62d0",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 208
  },
  "hsl": {
    "h": 261.818,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.58825,
    "c": 0.1642,
    "h": 297.9
  },
  "luminance": 0.18693
}

Semantic roles & 50–950 ramp

primary
#8A62D0
secondary
#CDDCB2
accent
#DD4BA8
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A62D0

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

Preview Lab → · Contrast checker → · Palette generator →

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