#8A62D9#8A62D9

#8A62D9 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.176 H 296.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A62D9
RGBrgb(138, 98, 217)
HSLhsl(260, 61%, 62%)
HSVhsv(260, 55%, 85%)
CMYKcmyk(36.4%, 54.8%, 0%, 14.9%)
CIE-LABlab(50.86, 41.99, -55.58)
CIE-LCHlch(50.86, 69.66, 307.07°)
OKLaboklab(59.39% 0.0773 -0.1576)
OKLCHoklch(59.39% 0.176 296.1)
XYZxyz(27.3701, 19.1479, 67.8861)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62D9 #B1D962
analogous
#6276D9 #8A62D9 #C662D9
triadic
#8A62D9 #D98A62 #62D98A
tetradic
#8A62D9 #D96276 #B1D962 #62D9C6
square
#8A62D9 #D96276 #B1D962 #62D9C6
split-complementary
#8A62D9 #D9C662 #76D962
monochromatic
#4D269B #6631CC #8A62D9 #AF93E5 #D3C5F1

Accessibility & contrast

On white

4.35
#8A62D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8A62D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62D9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62D9#FFFFFF#000000##000000
##8A62D91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADD
Deuteranopia (green-blind)
#3978D6
Tritanopia (blue-blind)
#777A94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a62d9;
/* rgb */ color: rgb(138, 98, 217);
/* oklch */ color: oklch(59.4% 0.176 296.1);
Tailwind
colors: {
  custom: {
    50: '#b090e5',
    500: '#8a62d9',
    950: '#000000',
  },
}
SCSS
$custom: #8a62d9;
$custom-light: #b090e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62d9",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 217
  },
  "hsl": {
    "h": 260.168,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59392,
    "c": 0.17552,
    "h": 296.1
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#8A62D9
secondary
#D3E1B5
accent
#C91D8F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A62D9

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

Preview Lab → · Contrast checker → · Palette generator →

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