#942387#942387

#942387 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.183 H 333.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#942387
RGBrgb(148, 35, 135)
HSLhsl(307, 62%, 36%)
HSVhsv(307, 76%, 58%)
CMYKcmyk(0%, 76.4%, 8.8%, 42%)
CIE-LABlab(36.46, 56.63, -30.03)
CIE-LCHlch(36.46, 64.09, 332.07°)
OKLaboklab(47.65% 0.1637 -0.0824)
OKLCHoklch(47.65% 0.183 333.3)
XYZxyz(17.1871, 9.2487, 23.7970)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942387 #239430
analogous
#682394 #942387 #94234E
triadic
#942387 #879423 #238794
tetradic
#942387 #946823 #239430 #234E94
square
#942387 #946823 #239430 #234E94
split-complementary
#942387 #4E9423 #239468
monochromatic
#310C2D #63175A #942387 #C52FB4 #D85AC9

Accessibility & contrast

On white

7.37
#942387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#942387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942387
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942387#FFFFFF#000000##FFFFFF
##9423871.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#4A5B84
Tritanopia (blue-blind)
#9B2F53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #942387;
/* rgb */ color: rgb(148, 35, 135);
/* oklch */ color: oklch(47.7% 0.183 333.3);
Tailwind
colors: {
  custom: {
    50: '#b76baa',
    500: '#942387',
    950: '#000000',
  },
}
SCSS
$custom: #942387;
$custom-light: #b76baa;
$custom-dark: #000000;
JSON
{
  "hex": "#942387",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 306.903,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.18327,
    "h": 333.3
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#942387
secondary
#57BC62
accent
#E55643
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942387

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

Preview Lab → · Contrast checker → · Palette generator →

#942387 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva