#8A61DA#8A61DA

#8A61DA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.3% C 0.178 H 296.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A61DA
RGBrgb(138, 97, 218)
HSLhsl(260, 62%, 62%)
HSVhsv(260, 56%, 85%)
CMYKcmyk(36.7%, 55.5%, 0%, 14.5%)
CIE-LABlab(50.70, 42.81, -56.40)
CIE-LCHlch(50.70, 70.81, 307.20°)
OKLaboklab(59.3% 0.0786 -0.16)
OKLCHoklch(59.3% 0.178 296.2)
XYZxyz(27.4076, 19.0141, 68.5422)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61DA #B1DA61
analogous
#6175DA #8A61DA #C761DA
triadic
#8A61DA #DA8A61 #61DA8A
tetradic
#8A61DA #DA6175 #B1DA61 #61DAC7
square
#8A61DA #DA6175 #B1DA61 #61DAC7
split-complementary
#8A61DA #DAC761 #75DA61
monochromatic
#4D259C #6630CE #8A61DA #AF93E6 #D3C4F1

Accessibility & contrast

On white

4.37
#8A61DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8A61DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61DA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61DA#FFFFFF#000000##000000
##8A61DA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2879DE
Deuteranopia (green-blind)
#3677D7
Tritanopia (blue-blind)
#777A94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a61da;
/* rgb */ color: rgb(138, 97, 218);
/* oklch */ color: oklch(59.3% 0.178 296.2);
Tailwind
colors: {
  custom: {
    50: '#b08fe6',
    500: '#8a61da',
    950: '#000000',
  },
}
SCSS
$custom: #8a61da;
$custom-light: #b08fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61da",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 218
  },
  "hsl": {
    "h": 260.331,
    "s": 62.051,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.17823,
    "h": 296.2
  },
  "luminance": 0.19015
}

Semantic roles & 50–950 ramp

primary
#8A61DA
secondary
#D3E2B5
accent
#CA1C8F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A61DA

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

Preview Lab → · Contrast checker → · Palette generator →

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