#8A61CA#8A61CA

#8A61CA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.158 H 299.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A61CA
RGBrgb(138, 97, 202)
HSLhsl(263, 50%, 59%)
HSVhsv(263, 52%, 79%)
CMYKcmyk(31.7%, 52%, 0%, 20.8%)
CIE-LABlab(49.76, 38.68, -48.79)
CIE-LCHlch(49.76, 62.26, 308.41°)
OKLaboklab(58.29% 0.0779 -0.1376)
OKLCHoklch(58.29% 0.158 299.5)
XYZxyz(25.4141, 18.2167, 58.0429)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61CA #A1CA61
analogous
#616CCA #8A61CA #BF61CA
triadic
#8A61CA #CA8A61 #61CA8A
tetradic
#8A61CA #CA616C #A1CA61 #61CABF
square
#8A61CA #CA616C #A1CA61 #61CABF
split-complementary
#8A61CA #CABF61 #6CCA61
monochromatic
#4F2C84 #6A3CB2 #8A61CA #AC8FD9 #CEBDE9

Accessibility & contrast

On white

4.52
#8A61CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8A61CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61CA#FFFFFF#000000##000000
##8A61CA1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CE
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#7D758C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a61ca;
/* rgb */ color: rgb(138, 97, 202);
/* oklch */ color: oklch(58.3% 0.158 299.5);
Tailwind
colors: {
  custom: {
    50: '#af8fdb',
    500: '#8a61ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a61ca;
$custom-light: #af8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61ca",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 263.429,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.15815,
    "h": 299.5
  },
  "luminance": 0.18217
}

Semantic roles & 50–950 ramp

primary
#8A61CA
secondary
#C8D8AF
accent
#D94FA3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A61CA

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

Preview Lab → · Contrast checker → · Palette generator →

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