#942487#942487

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

Color values

HEX#942487
RGBrgb(148, 36, 135)
HSLhsl(307, 61%, 36%)
HSVhsv(307, 76%, 58%)
CMYKcmyk(0%, 75.7%, 8.8%, 42%)
CIE-LABlab(36.57, 56.31, -29.85)
CIE-LCHlch(36.57, 63.73, 332.07°)
OKLaboklab(47.73% 0.1628 -0.0819)
OKLCHoklch(47.73% 0.182 333.3)
XYZxyz(17.2169, 9.3084, 23.8069)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942487 #249431
analogous
#692494 #942487 #94244F
triadic
#942487 #879424 #248794
tetradic
#942487 #946924 #249431 #244F94
square
#942487 #946924 #249431 #244F94
split-complementary
#942487 #4F9424 #249469
monochromatic
#320C2D #63185A #942487 #C530B4 #D75BC9

Accessibility & contrast

On white

7.34
#942487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#942487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942487
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942487#FFFFFF#000000##FFFFFF
##9424871.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942487;
/* rgb */ color: rgb(148, 36, 135);
/* oklch */ color: oklch(47.7% 0.182 333.3);
Tailwind
colors: {
  custom: {
    50: '#b76baa',
    500: '#942487',
    950: '#000000',
  },
}
SCSS
$custom: #942487;
$custom-light: #b76baa;
$custom-dark: #000000;
JSON
{
  "hex": "#942487",
  "rgb": {
    "r": 148,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 306.964,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47732,
    "c": 0.18219,
    "h": 333.3
  },
  "luminance": 0.09307
}

Semantic roles & 50–950 ramp

primary
#942487
secondary
#58BC64
accent
#E45644
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942487

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

Preview Lab → · Contrast checker → · Palette generator →

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