#8A358C#8A358C

#8A358C is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.2% C 0.159 H 326.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A358C
RGBrgb(138, 53, 140)
HSLhsl(299, 45%, 38%)
HSVhsv(299, 62%, 55%)
CMYKcmyk(1.4%, 62.1%, 0%, 45.1%)
CIE-LABlab(37.56, 47.99, -31.47)
CIE-LCHlch(37.56, 57.39, 326.74°)
OKLaboklab(48.21% 0.1328 -0.087)
OKLCHoklch(48.21% 0.159 326.8)
XYZxyz(16.4877, 9.8440, 25.8375)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A358C #378C35
analogous
#5F358C #8A358C #8C3562
triadic
#8A358C #8C8A35 #358C8A
tetradic
#8A358C #8C5F35 #378C35 #35628C
square
#8A358C #8C5F35 #378C35 #35628C
split-complementary
#8A358C #628C35 #358C5F
monochromatic
#321333 #5E2460 #8A358C #B646B8 #C872CA

Accessibility & contrast

On white

7.07
#8A358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A358C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A358C#FFFFFF#000000##FFFFFF
##8A358C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29518F
Deuteranopia (green-blind)
#485C8A
Tritanopia (blue-blind)
#8E405B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a358c;
/* rgb */ color: rgb(138, 53, 140);
/* oklch */ color: oklch(48.2% 0.159 326.8);
Tailwind
colors: {
  custom: {
    50: '#af72ae',
    500: '#8a358c',
    950: '#000000',
  },
}
SCSS
$custom: #8a358c;
$custom-light: #af72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a358c",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 298.621,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.15872,
    "h": 326.8
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#8A358C
secondary
#6DB26B
accent
#D55356
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A358C

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

Preview Lab → · Contrast checker → · Palette generator →

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