#8A62DA#8A62DA

#8A62DA is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.5% C 0.177 H 296.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A62DA
RGBrgb(138, 98, 218)
HSLhsl(260, 62%, 62%)
HSVhsv(260, 55%, 85%)
CMYKcmyk(36.7%, 55%, 0%, 14.5%)
CIE-LABlab(50.92, 42.25, -56.05)
CIE-LCHlch(50.92, 70.19, 307.01°)
OKLaboklab(59.46% 0.0774 -0.1589)
OKLCHoklch(59.46% 0.177 296)
XYZxyz(27.5006, 19.2001, 68.5732)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A62DA #B2DA62
analogous
#6276DA #8A62DA #C662DA
triadic
#8A62DA #DA8A62 #62DA8A
tetradic
#8A62DA #DA6276 #B2DA62 #62DAC6
square
#8A62DA #DA6276 #B2DA62 #62DAC6
split-complementary
#8A62DA #DAC662 #76DA62
monochromatic
#4D259D #6531CE #8A62DA #AF94E6 #D4C5F1

Accessibility & contrast

On white

4.34
#8A62DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8A62DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A62DA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A62DA#FFFFFF#000000##000000
##8A62DA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADE
Deuteranopia (green-blind)
#3778D7
Tritanopia (blue-blind)
#777B95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a62da;
/* rgb */ color: rgb(138, 98, 218);
/* oklch */ color: oklch(59.5% 0.177 296.0);
Tailwind
colors: {
  custom: {
    50: '#b090e6',
    500: '#8a62da',
    950: '#000000',
  },
}
SCSS
$custom: #8a62da;
$custom-light: #b090e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a62da",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 260,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59456,
    "c": 0.17678,
    "h": 296
  },
  "luminance": 0.19201
}

Semantic roles & 50–950 ramp

primary
#8A62DA
secondary
#D3E2B6
accent
#CA1C90
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A62DA

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

Preview Lab → · Contrast checker → · Palette generator →

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