#8A358E#8A358E

#8A358E is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.3% C 0.161 H 325.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8A358E
RGBrgb(138, 53, 142)
HSLhsl(297, 46%, 38%)
HSVhsv(297, 63%, 56%)
CMYKcmyk(2.8%, 62.7%, 0%, 44.3%)
CIE-LABlab(37.67, 48.36, -32.53)
CIE-LCHlch(37.67, 58.28, 326.07°)
OKLaboklab(48.32% 0.1329 -0.09)
OKLCHoklch(48.32% 0.161 325.9)
XYZxyz(16.6365, 9.9035, 26.6212)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A358E #398E35
analogous
#5D358E #8A358E #8E3565
triadic
#8A358E #8E8A35 #358E8A
tetradic
#8A358E #8E5D35 #398E35 #35658E
square
#8A358E #8E5D35 #398E35 #35658E
split-complementary
#8A358E #658E35 #358E5D
monochromatic
#331435 #5F2461 #8A358E #B546BA #C773CB

Accessibility & contrast

On white

7.05
#8A358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A358E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A358E#FFFFFF#000000##FFFFFF
##8A358E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#475C8C
Tritanopia (blue-blind)
#8D415C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a358e;
/* rgb */ color: rgb(138, 53, 142);
/* oklch */ color: oklch(48.3% 0.161 325.9);
Tailwind
colors: {
  custom: {
    50: '#af72af',
    500: '#8a358e',
    950: '#000000',
  },
}
SCSS
$custom: #8a358e;
$custom-light: #af72af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a358e",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 297.303,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48324,
    "c": 0.16053,
    "h": 325.9
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#8A358E
secondary
#6FB36C
accent
#D55258
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A358E

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

Preview Lab → · Contrast checker → · Palette generator →

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