#94308E#94308E

#94308E is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.2% C 0.173 H 330.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#94308E
RGBrgb(148, 48, 142)
HSLhsl(304, 51%, 38%)
HSVhsv(304, 68%, 58%)
CMYKcmyk(0%, 67.6%, 4.1%, 42%)
CIE-LABlab(38.49, 53.08, -31.13)
CIE-LCHlch(38.49, 61.53, 329.61°)
OKLaboklab(49.23% 0.1505 -0.0857)
OKLCHoklch(49.23% 0.173 330.3)
XYZxyz(18.1521, 10.3641, 26.6304)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94308E #309436
analogous
#683094 #94308E #94305C
triadic
#94308E #8E9430 #308E94
tetradic
#94308E #946830 #309436 #305C94
square
#94308E #946830 #309436 #305C94
split-complementary
#94308E #5C9430 #309468
monochromatic
#381235 #662162 #94308E #C140B9 #D06ECA

Accessibility & contrast

On white

6.83
#94308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #94308E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94308E#FFFFFF#000000##FFFFFF
##94308E1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285291
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#9A3B5B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #94308e;
/* rgb */ color: rgb(148, 48, 142);
/* oklch */ color: oklch(49.2% 0.173 330.3);
Tailwind
colors: {
  custom: {
    50: '#b671af',
    500: '#94308e',
    950: '#000000',
  },
}
SCSS
$custom: #94308e;
$custom-light: #b671af;
$custom-dark: #000000;
JSON
{
  "hex": "#94308e",
  "rgb": {
    "r": 148,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 303.6,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49233,
    "c": 0.17319,
    "h": 330.3
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#94308E
secondary
#68B86D
accent
#DA564D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #94308E

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

Preview Lab → · Contrast checker → · Palette generator →

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