#94198B#94198B

#94198B is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.195 H 331.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#94198B
RGBrgb(148, 25, 139)
HSLhsl(304, 71%, 34%)
HSVhsv(304, 83%, 58%)
CMYKcmyk(0%, 83.1%, 6.1%, 42%)
CIE-LABlab(35.71, 60.05, -33.68)
CIE-LCHlch(35.71, 68.85, 330.71°)
OKLaboklab(47.19% 0.172 -0.0929)
OKLCHoklch(47.19% 0.195 331.6)
XYZxyz(17.2206, 8.8567, 25.2236)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94198B #199422
analogous
#601994 #94198B #94194E
triadic
#94198B #8B9419 #198B94
tetradic
#94198B #946019 #199422 #194E94
square
#94198B #946019 #199422 #194E94
split-complementary
#94198B #4E9419 #199460
monochromatic
#2B0729 #60105A #94198B #C822BC #E047D5

Accessibility & contrast

On white

7.58
#94198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#94198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #94198B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94198B#FFFFFF#000000##FFFFFF
##94198B1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#445A88
Tritanopia (blue-blind)
#9A2B53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #94198b;
/* rgb */ color: rgb(148, 25, 139);
/* oklch */ color: oklch(47.2% 0.195 331.6);
Tailwind
colors: {
  custom: {
    50: '#b767ad',
    500: '#94198b',
    950: '#000000',
  },
}
SCSS
$custom: #94198b;
$custom-light: #b767ad;
$custom-dark: #000000;
JSON
{
  "hex": "#94198b",
  "rgb": {
    "r": 148,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 304.39,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.19546,
    "h": 331.6
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#94198B
secondary
#47C150
accent
#EE473A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #94198B

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

Preview Lab → · Contrast checker → · Palette generator →

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