#8A61DF#8A61DF

#8A61DF is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.6% C 0.184 H 295.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A61DF
RGBrgb(138, 97, 223)
HSLhsl(260, 66%, 63%)
HSVhsv(260, 57%, 87%)
CMYKcmyk(38.1%, 56.5%, 0%, 12.5%)
CIE-LABlab(51.01, 44.13, -58.74)
CIE-LCHlch(51.01, 73.46, 306.92°)
OKLaboklab(59.62% 0.0786 -0.1668)
OKLCHoklch(59.62% 0.184 295.2)
XYZxyz(28.0717, 19.2798, 72.0401)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61DF #B6DF61
analogous
#6177DF #8A61DF #C961DF
triadic
#8A61DF #DF8A61 #61DF8A
tetradic
#8A61DF #DF6177 #B6DF61 #61DFC9
square
#8A61DF #DF6177 #B6DF61 #61DFC9
split-complementary
#8A61DF #DFC961 #77DF61
monochromatic
#4C21A4 #642ED5 #8A61DF #B094E9 #D5C7F4

Accessibility & contrast

On white

4.32
#8A61DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8A61DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61DF#FFFFFF#000000##000000
##8A61DF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7AE3
Deuteranopia (green-blind)
#2F78DC
Tritanopia (blue-blind)
#757C97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a61df;
/* rgb */ color: rgb(138, 97, 223);
/* oklch */ color: oklch(59.6% 0.184 295.2);
Tailwind
colors: {
  custom: {
    50: '#b18fea',
    500: '#8a61df',
    950: '#000000',
  },
}
SCSS
$custom: #8a61df;
$custom-light: #b18fea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61df",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 259.524,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59623,
    "c": 0.18444,
    "h": 295.2
  },
  "luminance": 0.1928
}

Semantic roles & 50–950 ramp

primary
#8A61DF
secondary
#D6E5B7
accent
#CE1793
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A61DF

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

Preview Lab → · Contrast checker → · Palette generator →

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