#94308F#94308F

#94308F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.174 H 329.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#94308F
RGBrgb(148, 48, 143)
HSLhsl(303, 51%, 38%)
HSVhsv(303, 68%, 58%)
CMYKcmyk(0%, 67.6%, 3.4%, 42%)
CIE-LABlab(38.54, 53.25, -31.66)
CIE-LCHlch(38.54, 61.95, 329.27°)
OKLaboklab(49.29% 0.1506 -0.0872)
OKLCHoklch(49.29% 0.174 329.9)
XYZxyz(18.2275, 10.3943, 27.0275)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94308F #309435
analogous
#673094 #94308F #94305D
triadic
#94308F #8F9430 #308F94
tetradic
#94308F #946730 #309435 #305D94
square
#94308F #946730 #309435 #305D94
split-complementary
#94308F #5D9430 #309467
monochromatic
#381236 #662162 #94308F #C140BB #D06ECB

Accessibility & contrast

On white

6.82
#94308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#94308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #94308F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94308F#FFFFFF#000000##FFFFFF
##94308F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#993C5B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #94308f;
/* rgb */ color: rgb(148, 48, 143);
/* oklch */ color: oklch(49.3% 0.174 329.9);
Tailwind
colors: {
  custom: {
    50: '#b671b0',
    500: '#94308f',
    950: '#000000',
  },
}
SCSS
$custom: #94308f;
$custom-light: #b671b0;
$custom-dark: #000000;
JSON
{
  "hex": "#94308f",
  "rgb": {
    "r": 148,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 303,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.17401,
    "h": 329.9
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#94308F
secondary
#68B86C
accent
#DA544D
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #94308F

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

Preview Lab → · Contrast checker → · Palette generator →

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