#8A61D5#8A61D5

#8A61D5 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.0% C 0.172 H 297.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A61D5
RGBrgb(138, 97, 213)
HSLhsl(261, 58%, 61%)
HSVhsv(261, 54%, 84%)
CMYKcmyk(35.2%, 54.5%, 0%, 16.5%)
CIE-LABlab(50.40, 41.51, -54.05)
CIE-LCHlch(50.40, 68.15, 307.53°)
OKLaboklab(58.98% 0.0785 -0.1531)
OKLCHoklch(58.98% 0.172 297.1)
XYZxyz(26.7632, 18.7564, 65.1482)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61D5 #ACD561
analogous
#6172D5 #8A61D5 #C461D5
triadic
#8A61D5 #D58A61 #61D58A
tetradic
#8A61D5 #D56172 #ACD561 #61D5C4
square
#8A61D5 #D56172 #ACD561 #61D5C4
split-complementary
#8A61D5 #D5C461 #72D561
monochromatic
#4E2794 #6734C5 #8A61D5 #AE91E2 #D2C2EF

Accessibility & contrast

On white

4.42
#8A61D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8A61D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61D5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61D5#FFFFFF#000000##000000
##8A61D51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F78D9
Deuteranopia (green-blind)
#3C77D2
Tritanopia (blue-blind)
#797992
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a61d5;
/* rgb */ color: rgb(138, 97, 213);
/* oklch */ color: oklch(59.0% 0.172 297.1);
Tailwind
colors: {
  custom: {
    50: '#b08fe2',
    500: '#8a61d5',
    950: '#000000',
  },
}
SCSS
$custom: #8a61d5;
$custom-light: #b08fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61d5",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 213
  },
  "hsl": {
    "h": 261.207,
    "s": 58,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58976,
    "c": 0.17199,
    "h": 297.1
  },
  "luminance": 0.18757
}

Semantic roles & 50–950 ramp

primary
#8A61D5
secondary
#CFDFB3
accent
#C6208B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A61D5

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

Preview Lab → · Contrast checker → · Palette generator →

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