#8A61C8#8A61C8

#8A61C8 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.156 H 300.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A61C8
RGBrgb(138, 97, 200)
HSLhsl(264, 48%, 58%)
HSVhsv(264, 52%, 78%)
CMYKcmyk(31%, 51.5%, 0%, 21.6%)
CIE-LABlab(49.64, 38.17, -47.82)
CIE-LCHlch(49.64, 61.19, 308.60°)
OKLaboklab(58.17% 0.0777 -0.1348)
OKLCHoklch(58.17% 0.156 300)
XYZxyz(25.1788, 18.1226, 56.8039)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61C8 #9FC861
analogous
#616BC8 #8A61C8 #BD61C8
triadic
#8A61C8 #C88A61 #61C88A
tetradic
#8A61C8 #C8616B #9FC861 #61C8BD
square
#8A61C8 #C8616B #9FC861 #61C8BD
split-complementary
#8A61C8 #C8BD61 #6BC861
monochromatic
#4F2D82 #6A3DAF #8A61C8 #AC8ED8 #CDBCE8

Accessibility & contrast

On white

4.54
#8A61C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8A61C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61C8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61C8#FFFFFF#000000##000000
##8A61C81.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#4875C6
Tritanopia (blue-blind)
#7D758B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a61c8;
/* rgb */ color: rgb(138, 97, 200);
/* oklch */ color: oklch(58.2% 0.156 300.0);
Tailwind
colors: {
  custom: {
    50: '#af8fd9',
    500: '#8a61c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a61c8;
$custom-light: #af8fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61c8",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 200
  },
  "hsl": {
    "h": 263.883,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58171,
    "c": 0.15563,
    "h": 300
  },
  "luminance": 0.18123
}

Semantic roles & 50–950 ramp

primary
#8A61C8
secondary
#C7D7AE
accent
#D850A2
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A61C8

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

Preview Lab → · Contrast checker → · Palette generator →

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