#8A6293#8A6293

#8A6293 is a mid, moderate purple. Relative luminance 0.162; OKLCH L 55.6% C 0.087 H 320.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A6293
RGBrgb(138, 98, 147)
HSLhsl(289, 20%, 48%)
HSVhsv(289, 33%, 58%)
CMYKcmyk(6.1%, 33.3%, 0%, 42.4%)
CIE-LABlab(47.30, 25.14, -20.54)
CIE-LCHlch(47.30, 32.46, 320.75°)
OKLaboklab(55.56% 0.067 -0.056)
OKLCHoklch(55.56% 0.087 320.1)
XYZxyz(20.1147, 16.2458, 29.6743)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6293 #6B9362
analogous
#716293 #8A6293 #936283
triadic
#8A6293 #938A62 #62938A
tetradic
#8A6293 #937162 #6B9362 #628393
square
#8A6293 #937162 #6B9362 #628393
split-complementary
#8A6293 #839362 #629371
monochromatic
#45314A #684A6E #8A6293 #A685AD #C1A9C6

Accessibility & contrast

On white

4.94
#8A6293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8A6293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6293
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6293#FFFFFF#000000##FFFFFF
##8A62931.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6D95
Deuteranopia (green-blind)
#667291
Tritanopia (blue-blind)
#8B6774
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a6293;
/* rgb */ color: rgb(138, 98, 147);
/* oklch */ color: oklch(55.6% 0.087 320.1);
Tailwind
colors: {
  custom: {
    50: '#ad8fb2',
    500: '#8a6293',
    950: '#000000',
  },
}
SCSS
$custom: #8a6293;
$custom-light: #ad8fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6293",
  "rgb": {
    "r": 138,
    "g": 98,
    "b": 147
  },
  "hsl": {
    "h": 288.98,
    "s": 20,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.08733,
    "h": 320.1
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#8A6293
secondary
#A1B59C
accent
#BD6B7A
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C11
muted
#7F7D80

Preview Lab

Preview with #8A6293

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

Preview Lab → · Contrast checker → · Palette generator →

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