#94278C#94278C

#94278C is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.183 H 331.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#94278C
RGBrgb(148, 39, 140)
HSLhsl(304, 58%, 37%)
HSVhsv(304, 74%, 58%)
CMYKcmyk(0%, 73.6%, 5.4%, 42%)
CIE-LABlab(37.19, 56.10, -31.95)
CIE-LCHlch(37.19, 64.56, 330.34°)
OKLaboklab(48.26% 0.1601 -0.088)
OKLCHoklch(48.26% 0.183 331.2)
XYZxyz(17.6719, 9.6418, 25.7362)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94278C #27942F
analogous
#662794 #94278C #942756
triadic
#94278C #8C9427 #278C94
tetradic
#94278C #946627 #27942F #275694
square
#94278C #946627 #27942F #275694
split-complementary
#94278C #569427 #279466
monochromatic
#330D30 #641A5E #94278C #C434BA #D560CD

Accessibility & contrast

On white

7.17
#94278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#94278C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #94278C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94278C#FFFFFF#000000##FFFFFF
##94278C1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#495D89
Tritanopia (blue-blind)
#9A3457
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #94278c;
/* rgb */ color: rgb(148, 39, 140);
/* oklch */ color: oklch(48.3% 0.183 331.2);
Tailwind
colors: {
  custom: {
    50: '#b76dae',
    500: '#94278c',
    950: '#000000',
  },
}
SCSS
$custom: #94278c;
$custom-light: #b76dae;
$custom-dark: #000000;
JSON
{
  "hex": "#94278c",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 304.404,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48264,
    "c": 0.18266,
    "h": 331.2
  },
  "luminance": 0.0964
}

Semantic roles & 50–950 ramp

primary
#94278C
secondary
#5CBB63
accent
#E25246
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #94278C

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

Preview Lab → · Contrast checker → · Palette generator →

#94278C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva