#94308B#94308B

#94308B is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.171 H 331.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#94308B
RGBrgb(148, 48, 139)
HSLhsl(305, 51%, 38%)
HSVhsv(305, 68%, 58%)
CMYKcmyk(0%, 67.6%, 6.1%, 42%)
CIE-LABlab(38.33, 52.57, -29.54)
CIE-LCHlch(38.33, 60.30, 330.67°)
OKLaboklab(49.07% 0.1503 -0.0811)
OKLCHoklch(49.07% 0.171 331.6)
XYZxyz(17.9299, 10.2753, 25.4601)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94308B #309439
analogous
#6B3094 #94308B #943059
triadic
#94308B #8B9430 #308B94
tetradic
#94308B #946B30 #309439 #305994
square
#94308B #946B30 #309439 #305994
split-complementary
#94308B #599430 #30946B
monochromatic
#381234 #662160 #94308B #C140B5 #D06EC7

Accessibility & contrast

On white

6.87
#94308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#94308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #94308B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94308B#FFFFFF#000000##FFFFFF
##94308B1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518E
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#9A3A59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #94308b;
/* rgb */ color: rgb(148, 48, 139);
/* oklch */ color: oklch(49.1% 0.171 331.6);
Tailwind
colors: {
  custom: {
    50: '#b671ad',
    500: '#94308b',
    950: '#000000',
  },
}
SCSS
$custom: #94308b;
$custom-light: #b671ad;
$custom-dark: #000000;
JSON
{
  "hex": "#94308b",
  "rgb": {
    "r": 148,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 305.4,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4907,
    "c": 0.17076,
    "h": 331.6
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#94308B
secondary
#68B86F
accent
#DA5A4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #94308B

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

Preview Lab → · Contrast checker → · Palette generator →

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