#94278B#94278B

#94278B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.182 H 331.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#94278B
RGBrgb(148, 39, 139)
HSLhsl(305, 58%, 37%)
HSVhsv(305, 74%, 58%)
CMYKcmyk(0%, 73.6%, 6.1%, 42%)
CIE-LABlab(37.14, 55.94, -31.42)
CIE-LCHlch(37.14, 64.16, 330.68°)
OKLaboklab(48.21% 0.16 -0.0864)
OKLCHoklch(48.21% 0.182 331.6)
XYZxyz(17.5985, 9.6124, 25.3496)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94278B #279430
analogous
#672794 #94278B #942755
triadic
#94278B #8B9427 #278B94
tetradic
#94278B #946727 #279430 #275594
square
#94278B #946727 #279430 #275594
split-complementary
#94278B #559427 #279467
monochromatic
#330D30 #641A5E #94278B #C434B8 #D560CC

Accessibility & contrast

On white

7.19
#94278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#94278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #94278B
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94278B#FFFFFF#000000##FFFFFF
##94278B1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#495D88
Tritanopia (blue-blind)
#9A3456
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #94278b;
/* rgb */ color: rgb(148, 39, 139);
/* oklch */ color: oklch(48.2% 0.182 331.6);
Tailwind
colors: {
  custom: {
    50: '#b76dad',
    500: '#94278b',
    950: '#000000',
  },
}
SCSS
$custom: #94278b;
$custom-light: #b76dad;
$custom-dark: #000000;
JSON
{
  "hex": "#94278b",
  "rgb": {
    "r": 148,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 304.954,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48208,
    "c": 0.18189,
    "h": 331.6
  },
  "luminance": 0.09611
}

Semantic roles & 50–950 ramp

primary
#94278B
secondary
#5CBB64
accent
#E25346
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #94278B

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

Preview Lab → · Contrast checker → · Palette generator →

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