#94308D#94308D

#94308D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.172 H 330.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#94308D
RGBrgb(148, 48, 141)
HSLhsl(304, 51%, 38%)
HSVhsv(304, 68%, 58%)
CMYKcmyk(0%, 67.6%, 4.7%, 42%)
CIE-LABlab(38.44, 52.91, -30.60)
CIE-LCHlch(38.44, 61.12, 329.95°)
OKLaboklab(49.18% 0.1504 -0.0842)
OKLCHoklch(49.18% 0.172 330.8)
XYZxyz(18.0773, 10.3342, 26.2367)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94308D #309437
analogous
#693094 #94308D #94305B
triadic
#94308D #8D9430 #308D94
tetradic
#94308D #946930 #309437 #305B94
square
#94308D #946930 #309437 #305B94
split-complementary
#94308D #5B9430 #309469
monochromatic
#381235 #662161 #94308D #C140B8 #D06EC9

Accessibility & contrast

On white

6.85
#94308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#94308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #94308D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94308D#FFFFFF#000000##FFFFFF
##94308D1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285290
Deuteranopia (green-blind)
#4D5F8A
Tritanopia (blue-blind)
#9A3B5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #94308d;
/* rgb */ color: rgb(148, 48, 141);
/* oklch */ color: oklch(49.2% 0.172 330.8);
Tailwind
colors: {
  custom: {
    50: '#b671ae',
    500: '#94308d',
    950: '#000000',
  },
}
SCSS
$custom: #94308d;
$custom-light: #b671ae;
$custom-dark: #000000;
JSON
{
  "hex": "#94308d",
  "rgb": {
    "r": 148,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 304.2,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49178,
    "c": 0.17238,
    "h": 330.8
  },
  "luminance": 0.10333
}

Semantic roles & 50–950 ramp

primary
#94308D
secondary
#68B86E
accent
#DA574D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #94308D

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

Preview Lab → · Contrast checker → · Palette generator →

#94308D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva