#9427B2#9427B2

#9427B2 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.214 H 317.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9427B2
RGBrgb(148, 39, 178)
HSLhsl(287, 64%, 43%)
HSVhsv(287, 78%, 70%)
CMYKcmyk(16.9%, 78.1%, 0%, 30.2%)
CIE-LABlab(39.52, 62.85, -51.15)
CIE-LCHlch(39.52, 81.03, 320.86°)
OKLaboklab(50.66% 0.1579 -0.144)
OKLCHoklch(50.66% 0.214 317.6)
XYZxyz(20.9730, 10.9622, 43.1220)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9427B2 #45B227
analogous
#4E27B2 #9427B2 #B2278B
triadic
#9427B2 #B29427 #27B294
tetradic
#9427B2 #B24E27 #45B227 #278BB2
square
#9427B2 #B24E27 #45B227 #278BB2
split-complementary
#9427B2 #8BB227 #27B24E
monochromatic
#41114E #6A1C80 #9427B2 #B541D5 #C973E0

Accessibility & contrast

On white

6.58
#9427B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9427B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9427B2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9427B2#FFFFFF#000000##FFFFFF
##9427B21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#2C60AF
Tritanopia (blue-blind)
#93466C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9427b2;
/* rgb */ color: rgb(148, 39, 178);
/* oklch */ color: oklch(50.7% 0.214 317.6);
Tailwind
colors: {
  custom: {
    50: '#b86eca',
    500: '#9427b2',
    950: '#000000',
  },
}
SCSS
$custom: #9427b2;
$custom-light: #b86eca;
$custom-dark: #000000;
JSON
{
  "hex": "#9427b2",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 287.05,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50664,
    "c": 0.21372,
    "h": 317.6
  },
  "luminance": 0.10961
}

Semantic roles & 50–950 ramp

primary
#9427B2
secondary
#81C86D
accent
#E74165
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9427B2

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

Preview Lab → · Contrast checker → · Palette generator →

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