#94238B#94238B

#94238B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.186 H 331.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#94238B
RGBrgb(148, 35, 139)
HSLhsl(305, 62%, 36%)
HSVhsv(305, 76%, 58%)
CMYKcmyk(0%, 76.4%, 6.1%, 42%)
CIE-LABlab(36.67, 57.26, -32.15)
CIE-LCHlch(36.67, 65.67, 330.69°)
OKLaboklab(47.88% 0.1639 -0.0885)
OKLCHoklch(47.88% 0.186 331.6)
XYZxyz(17.4740, 9.3635, 25.3081)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94238B #23942C
analogous
#642394 #94238B #942352
triadic
#94238B #8B9423 #238B94
tetradic
#94238B #946423 #23942C #235294
square
#94238B #946423 #23942C #235294
split-complementary
#94238B #529423 #239464
monochromatic
#310C2E #63175D #94238B #C52FB9 #D85ACE

Accessibility & contrast

On white

7.31
#94238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#94238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #94238B
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94238B#FFFFFF#000000##FFFFFF
##94238B1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#9A3155
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #94238b;
/* rgb */ color: rgb(148, 35, 139);
/* oklch */ color: oklch(47.9% 0.186 331.6);
Tailwind
colors: {
  custom: {
    50: '#b76bad',
    500: '#94238b',
    950: '#000000',
  },
}
SCSS
$custom: #94238b;
$custom-light: #b76bad;
$custom-dark: #000000;
JSON
{
  "hex": "#94238b",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 304.779,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47876,
    "c": 0.18626,
    "h": 331.6
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#94238B
secondary
#57BC5F
accent
#E55043
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #94238B

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

Preview Lab → · Contrast checker → · Palette generator →

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