#942587#942587

#942587 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.181 H 333.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#942587
RGBrgb(148, 37, 135)
HSLhsl(307, 60%, 36%)
HSVhsv(307, 75%, 58%)
CMYKcmyk(0%, 75%, 8.8%, 42%)
CIE-LABlab(36.69, 55.98, -29.67)
CIE-LCHlch(36.69, 63.35, 332.08°)
OKLaboklab(47.82% 0.1618 -0.0814)
OKLCHoklch(47.82% 0.181 333.3)
XYZxyz(17.2476, 9.3698, 23.8171)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942587 #259432
analogous
#6A2594 #942587 #942550
triadic
#942587 #879425 #258794
tetradic
#942587 #946A25 #259432 #255094
square
#942587 #946A25 #259432 #255094
split-complementary
#942587 #509425 #25946A
monochromatic
#320D2E #63195A #942587 #C531B4 #D65DC8

Accessibility & contrast

On white

7.31
#942587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#942587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##942587#FFFFFF#000000##FFFFFF
##9425871.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)
#214C8A
Deuteranopia (green-blind)
#4B5C84
Tritanopia (blue-blind)
#9B3054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #942587;
/* rgb */ color: rgb(148, 37, 135);
/* oklch */ color: oklch(47.8% 0.181 333.3);
Tailwind
colors: {
  custom: {
    50: '#b76caa',
    500: '#942587',
    950: '#000000',
  },
}
SCSS
$custom: #942587;
$custom-light: #b76caa;
$custom-dark: #000000;
JSON
{
  "hex": "#942587",
  "rgb": {
    "r": 148,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 307.027,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47815,
    "c": 0.1811,
    "h": 333.3
  },
  "luminance": 0.09368
}

Semantic roles & 50–950 ramp

primary
#942587
secondary
#59BB65
accent
#E35745
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942587

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

Preview Lab → · Contrast checker → · Palette generator →

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