#9427BD#9427BD

#9427BD is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.223 H 314.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9427BD
RGBrgb(148, 39, 189)
HSLhsl(284, 66%, 45%)
HSVhsv(284, 79%, 74%)
CMYKcmyk(21.7%, 79.4%, 0%, 25.9%)
CIE-LABlab(40.28, 64.97, -56.41)
CIE-LCHlch(40.28, 86.04, 319.03°)
OKLaboklab(51.44% 0.1561 -0.1594)
OKLCHoklch(51.44% 0.223 314.4)
XYZxyz(22.1220, 11.4219, 49.1736)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9427BD #50BD27
analogous
#4927BD #9427BD #BD279B
triadic
#9427BD #BD9427 #27BD94
tetradic
#9427BD #BD4927 #50BD27 #279BBD
square
#9427BD #BD4927 #50BD27 #279BBD
split-complementary
#9427BD #9BBD27 #27BD49
monochromatic
#451258 #6C1D8A #9427BD #B248D9 #C77BE4

Accessibility & contrast

On white

6.39
#9427BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9427BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9427BD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9427BD#FFFFFF#000000##FFFFFF
##9427BD1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#1A61BA
Tritanopia (blue-blind)
#904B73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9427bd;
/* rgb */ color: rgb(148, 39, 189);
/* oklch */ color: oklch(51.4% 0.223 314.4);
Tailwind
colors: {
  custom: {
    50: '#b86fd2',
    500: '#9427bd',
    950: '#000000',
  },
}
SCSS
$custom: #9427bd;
$custom-light: #b86fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9427bd",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 283.6,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.2231,
    "h": 314.4
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#9427BD
secondary
#8CCC74
accent
#E93F6D
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9427BD

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

Preview Lab → · Contrast checker → · Palette generator →

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