#9427BA#9427BA

#9427BA is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.221 H 315.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9427BA
RGBrgb(148, 39, 186)
HSLhsl(284, 65%, 44%)
HSVhsv(284, 79%, 73%)
CMYKcmyk(20.4%, 79%, 0%, 27.1%)
CIE-LABlab(40.07, 64.38, -54.99)
CIE-LCHlch(40.07, 84.67, 319.50°)
OKLaboklab(51.23% 0.1566 -0.1552)
OKLCHoklch(51.23% 0.221 315.3)
XYZxyz(21.7997, 11.2929, 47.4763)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9427BA #4DBA27
analogous
#4B27BA #9427BA #BA2797
triadic
#9427BA #BA9427 #27BA94
tetradic
#9427BA #BA4B27 #4DBA27 #2797BA
square
#9427BA #BA4B27 #4DBA27 #2797BA
split-complementary
#9427BA #97BA27 #27BA4B
monochromatic
#431255 #6C1C87 #9427BA #B246D8 #C779E3

Accessibility & contrast

On white

6.44
#9427BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9427BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9427BA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9427BA#FFFFFF#000000##FFFFFF
##9427BA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#2061B7
Tritanopia (blue-blind)
#914A71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9427ba;
/* rgb */ color: rgb(148, 39, 186);
/* oklch */ color: oklch(51.2% 0.221 315.3);
Tailwind
colors: {
  custom: {
    50: '#b86fd0',
    500: '#9427ba',
    950: '#000000',
  },
}
SCSS
$custom: #9427ba;
$custom-light: #b86fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9427ba",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 284.49,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.22053,
    "h": 315.3
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#9427BA
secondary
#89CB72
accent
#E8406B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9427BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9427BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva