#8A61CD#8A61CD

#8A61CD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.162 H 298.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8A61CD
RGBrgb(138, 97, 205)
HSLhsl(263, 52%, 59%)
HSVhsv(263, 53%, 80%)
CMYKcmyk(32.7%, 52.7%, 0%, 19.6%)
CIE-LABlab(49.93, 39.44, -50.23)
CIE-LCHlch(49.93, 63.87, 308.14°)
OKLaboklab(58.48% 0.0781 -0.1419)
OKLCHoklch(58.48% 0.162 298.8)
XYZxyz(25.7727, 18.3602, 59.9318)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61CD #A4CD61
analogous
#616ECD #8A61CD #C061CD
triadic
#8A61CD #CD8A61 #61CD8A
tetradic
#8A61CD #CD616E #A4CD61 #61CDC0
square
#8A61CD #CD616E #A4CD61 #61CDC0
split-complementary
#8A61CD #CDC061 #6ECD61
monochromatic
#4F2B88 #693AB7 #8A61CD #AC8FDC #CFBEEA

Accessibility & contrast

On white

4.49
#8A61CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#8A61CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61CD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61CD#FFFFFF#000000##000000
##8A61CD1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#7C768E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a61cd;
/* rgb */ color: rgb(138, 97, 205);
/* oklch */ color: oklch(58.5% 0.162 298.8);
Tailwind
colors: {
  custom: {
    50: '#af8fdd',
    500: '#8a61cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a61cd;
$custom-light: #af8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61cd",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 262.778,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58476,
    "c": 0.16195,
    "h": 298.8
  },
  "luminance": 0.1836
}

Semantic roles & 50–950 ramp

primary
#8A61CD
secondary
#CADAB0
accent
#DB4CA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A61CD

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

Preview Lab → · Contrast checker → · Palette generator →

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