#8A61EC#8A61EC

#8A61EC is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.5% C 0.200 H 293.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A61EC
RGBrgb(138, 97, 236)
HSLhsl(258, 79%, 65%)
HSVhsv(258, 59%, 93%)
CMYKcmyk(41.5%, 58.9%, 0%, 7.5%)
CIE-LABlab(51.85, 47.58, -64.71)
CIE-LCHlch(51.85, 80.32, 306.33°)
OKLaboklab(60.5% 0.0784 -0.1844)
OKLCHoklch(60.5% 0.2 293)
XYZxyz(29.8922, 20.0080, 81.6276)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61EC #C3EC61
analogous
#617DEC #8A61EC #D061EC
triadic
#8A61EC #EC8A61 #61EC8A
tetradic
#8A61EC #EC617D #C3EC61 #61ECD0
square
#8A61EC #EC617D #C3EC61 #61ECD0
split-complementary
#8A61EC #ECD061 #7DEC61
monochromatic
#4717BC #622AE5 #8A61EC #B298F3 #DBCEF9

Accessibility & contrast

On white

4.20
#8A61EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8A61EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61EC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61EC#FFFFFF#000000##000000
##8A61EC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#1079E9
Tritanopia (blue-blind)
#6F809D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a61ec;
/* rgb */ color: rgb(138, 97, 236);
/* oklch */ color: oklch(60.5% 0.200 293.0);
Tailwind
colors: {
  custom: {
    50: '#b28ff3',
    500: '#8a61ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a61ec;
$custom-light: #b28ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61ec",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 257.698,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.20038,
    "h": 293
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

primary
#8A61EC
secondary
#DEECBD
accent
#DB0B9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A61EC

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

Preview Lab → · Contrast checker → · Palette generator →

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