#94238C#94238C

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

Color values

HEX#94238C
RGBrgb(148, 35, 140)
HSLhsl(304, 62%, 36%)
HSVhsv(304, 76%, 58%)
CMYKcmyk(0%, 76.4%, 5.4%, 42%)
CIE-LABlab(36.73, 57.42, -32.68)
CIE-LCHlch(36.73, 66.07, 330.36°)
OKLaboklab(47.93% 0.1639 -0.0901)
OKLCHoklch(47.93% 0.187 331.2)
XYZxyz(17.5474, 9.3928, 25.6947)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94238C #23942B
analogous
#632394 #94238C #942353
triadic
#94238C #8C9423 #238C94
tetradic
#94238C #946323 #23942B #235394
square
#94238C #946323 #23942B #235394
split-complementary
#94238C #539423 #239463
monochromatic
#310C2E #63175D #94238C #C52FBB #D85ACF

Accessibility & contrast

On white

7.30
#94238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #94238C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94238C#FFFFFF#000000##FFFFFF
##94238C1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8F
Deuteranopia (green-blind)
#475C89
Tritanopia (blue-blind)
#9A3156
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #94238c;
/* rgb */ color: rgb(148, 35, 140);
/* oklch */ color: oklch(47.9% 0.187 331.2);
Tailwind
colors: {
  custom: {
    50: '#b76bae',
    500: '#94238c',
    950: '#000000',
  },
}
SCSS
$custom: #94238c;
$custom-light: #b76bae;
$custom-dark: #000000;
JSON
{
  "hex": "#94238c",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 304.248,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47933,
    "c": 0.187,
    "h": 331.2
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#94238C
secondary
#57BC5E
accent
#E54E43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #94238C

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

Preview Lab → · Contrast checker → · Palette generator →

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