#94238D#94238D

#94238D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.188 H 330.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#94238D
RGBrgb(148, 35, 141)
HSLhsl(304, 62%, 36%)
HSVhsv(304, 76%, 58%)
CMYKcmyk(0%, 76.4%, 4.7%, 42%)
CIE-LABlab(36.79, 57.58, -33.21)
CIE-LCHlch(36.79, 66.47, 330.03°)
OKLaboklab(47.99% 0.1639 -0.0916)
OKLCHoklch(47.99% 0.188 330.8)
XYZxyz(17.6215, 9.4225, 26.0848)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94238D #23942A
analogous
#622394 #94238D #942354
triadic
#94238D #8D9423 #238D94
tetradic
#94238D #946223 #23942A #235494
square
#94238D #946223 #23942A #235494
split-complementary
#94238D #549423 #239462
monochromatic
#310C2F #63175E #94238D #C52FBC #D85AD0

Accessibility & contrast

On white

7.28
#94238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#94238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #94238D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94238D#FFFFFF#000000##FFFFFF
##94238D1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D90
Deuteranopia (green-blind)
#475C8A
Tritanopia (blue-blind)
#9A3256
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #94238d;
/* rgb */ color: rgb(148, 35, 141);
/* oklch */ color: oklch(48.0% 0.188 330.8);
Tailwind
colors: {
  custom: {
    50: '#b76baf',
    500: '#94238d',
    950: '#000000',
  },
}
SCSS
$custom: #94238d;
$custom-light: #b76baf;
$custom-dark: #000000;
JSON
{
  "hex": "#94238d",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 303.717,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47991,
    "c": 0.18777,
    "h": 330.8
  },
  "luminance": 0.09421
}

Semantic roles & 50–950 ramp

primary
#94238D
secondary
#57BC5D
accent
#E54D43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #94238D

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

Preview Lab → · Contrast checker → · Palette generator →

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