#8A3F90#8A3F90

#8A3F90 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.7% C 0.147 H 324.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8A3F90
RGBrgb(138, 63, 144)
HSLhsl(296, 39%, 41%)
HSVhsv(296, 56%, 56%)
CMYKcmyk(4.2%, 56.3%, 0%, 43.5%)
CIE-LABlab(39.53, 43.95, -30.81)
CIE-LCHlch(39.53, 53.67, 324.97°)
OKLaboklab(49.72% 0.1198 -0.0851)
OKLCHoklch(49.72% 0.147 324.6)
XYZxyz(17.2924, 10.9728, 27.5873)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F90 #45903F
analogous
#623F90 #8A3F90 #903F6D
triadic
#8A3F90 #908A3F #3F908A
tetradic
#8A3F90 #90623F #45903F #3F6D90
square
#8A3F90 #90623F #45903F #3F6D90
split-complementary
#8A3F90 #6D903F #3F9062
monochromatic
#381A3B #612C65 #8A3F90 #AE57B5 #C381C8

Accessibility & contrast

On white

6.57
#8A3F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8A3F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F90
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F90#FFFFFF#000000##FFFFFF
##8A3F901.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345793
Deuteranopia (green-blind)
#4C608E
Tritanopia (blue-blind)
#8D4961
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a3f90;
/* rgb */ color: rgb(138, 63, 144);
/* oklch */ color: oklch(49.7% 0.147 324.6);
Tailwind
colors: {
  custom: {
    50: '#ae78b1',
    500: '#8a3f90',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f90;
$custom-light: #ae78b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f90",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 295.556,
    "s": 39.13,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4972,
    "c": 0.14691,
    "h": 324.6
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#8A3F90
secondary
#7DB278
accent
#CF5962
background
#FAF7FA
surface
#F5EDF5
border
#CFC8CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A3F90

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

Preview Lab → · Contrast checker → · Palette generator →

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