#8A62D8#8A62D8

#8A62D8 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.3% C 0.174 H 296.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A62D8
RGBrgb(138, 98, 216)
HSLhsl(260, 60%, 62%)
HSVhsv(260, 55%, 85%)
CMYKcmyk(36.1%, 54.6%, 0%, 15.3%)
CIE-LABlab(50.80, 41.73, -55.11)
CIE-LCHlch(50.80, 69.13, 307.13°)
OKLaboklab(59.33% 0.0773 -0.1562)
OKLCHoklch(59.33% 0.174 296.3)
XYZxyz(27.2404, 19.0961, 67.2032)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62D8 #B0D862
analogous
#6275D8 #8A62D8 #C562D8
triadic
#8A62D8 #D88A62 #62D88A
tetradic
#8A62D8 #D86275 #B0D862 #62D8C5
square
#8A62D8 #D86275 #B0D862 #62D8C5
split-complementary
#8A62D8 #D8C562 #75D862
monochromatic
#4D2699 #6632CA #8A62D8 #AF93E4 #D3C4F0

Accessibility & contrast

On white

4.36
#8A62D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8A62D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62D8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62D8#FFFFFF#000000##000000
##8A62D81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7ADC
Deuteranopia (green-blind)
#3A77D5
Tritanopia (blue-blind)
#787A94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a62d8;
/* rgb */ color: rgb(138, 98, 216);
/* oklch */ color: oklch(59.3% 0.174 296.3);
Tailwind
colors: {
  custom: {
    50: '#b090e5',
    500: '#8a62d8',
    950: '#000000',
  },
}
SCSS
$custom: #8a62d8;
$custom-light: #b090e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62d8",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 260.339,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59328,
    "c": 0.17427,
    "h": 296.3
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#8A62D8
secondary
#D2E1B5
accent
#C81E8E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A62D8

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

Preview Lab → · Contrast checker → · Palette generator →

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