#8A61ED#8A61ED

#8A61ED is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.6% C 0.202 H 292.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8A61ED
RGBrgb(138, 97, 237)
HSLhsl(258, 80%, 65%)
HSVhsv(258, 59%, 93%)
CMYKcmyk(41.8%, 59.1%, 0%, 7.1%)
CIE-LABlab(51.91, 47.85, -65.16)
CIE-LCHlch(51.91, 80.85, 306.29°)
OKLaboklab(60.57% 0.0784 -0.1857)
OKLCHoklch(60.57% 0.202 292.9)
XYZxyz(30.0378, 20.0663, 82.3949)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61ED #C4ED61
analogous
#617EED #8A61ED #D061ED
triadic
#8A61ED #ED8A61 #61ED8A
tetradic
#8A61ED #ED617E #C4ED61 #61EDD0
square
#8A61ED #ED617E #C4ED61 #61EDD0
split-complementary
#8A61ED #EDD061 #7EED61
monochromatic
#4716BE #612AE7 #8A61ED #B398F3 #DBCFFA

Accessibility & contrast

On white

4.19
#8A61ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8A61ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61ED
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61ED#FFFFFF#000000##000000
##8A61ED1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#0A79EA
Tritanopia (blue-blind)
#6F809E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a61ed;
/* rgb */ color: rgb(138, 97, 237);
/* oklch */ color: oklch(60.6% 0.202 292.9);
Tailwind
colors: {
  custom: {
    50: '#b28ff4',
    500: '#8a61ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a61ed;
$custom-light: #b28ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61ed",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 237
  },
  "hsl": {
    "h": 257.571,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6057,
    "c": 0.2016,
    "h": 292.9
  },
  "luminance": 0.20067
}

Semantic roles & 50–950 ramp

primary
#8A61ED
secondary
#DFECBD
accent
#DC0A9E
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A61ED

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

Preview Lab → · Contrast checker → · Palette generator →

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