#8A61DD#8A61DD

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

Color values

HEX#8A61DD
RGBrgb(138, 97, 221)
HSLhsl(260, 65%, 62%)
HSVhsv(260, 56%, 87%)
CMYKcmyk(37.6%, 56.1%, 0%, 13.3%)
CIE-LABlab(50.89, 43.60, -57.80)
CIE-LCHlch(50.89, 72.40, 307.03°)
OKLaboklab(59.49% 0.0786 -0.1641)
OKLCHoklch(59.49% 0.182 295.6)
XYZxyz(27.8037, 19.1726, 70.6284)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61DD #B4DD61
analogous
#6176DD #8A61DD #C861DD
triadic
#8A61DD #DD8A61 #61DD8A
tetradic
#8A61DD #DD6176 #B4DD61 #61DDC8
square
#8A61DD #DD6176 #B4DD61 #61DDC8
split-complementary
#8A61DD #DDC861 #76DD61
monochromatic
#4C23A1 #652FD2 #8A61DD #AF93E8 #D5C6F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A61DD#FFFFFF#000000##000000
##8A61DD1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#227AE1
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#767B96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a61dd;
/* rgb */ color: rgb(138, 97, 221);
/* oklch */ color: oklch(59.5% 0.182 295.6);
Tailwind
colors: {
  custom: {
    50: '#b18fe8',
    500: '#8a61dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a61dd;
$custom-light: #b18fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61dd",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 221
  },
  "hsl": {
    "h": 259.839,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.18195,
    "h": 295.6
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#8A61DD
secondary
#D5E4B6
accent
#CC1991
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A61DD

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

Preview Lab → · Contrast checker → · Palette generator →

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