#942586#942586

#942586 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.180 H 333.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#942586
RGBrgb(148, 37, 134)
HSLhsl(308, 60%, 36%)
HSVhsv(308, 75%, 58%)
CMYKcmyk(0%, 75%, 9.5%, 42%)
CIE-LABlab(36.63, 55.82, -29.13)
CIE-LCHlch(36.63, 62.96, 332.44°)
OKLaboklab(47.76% 0.1617 -0.0798)
OKLCHoklch(47.76% 0.18 333.7)
XYZxyz(17.1775, 9.3417, 23.4481)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942586 #259433
analogous
#6B2594 #942586 #94254F
triadic
#942586 #869425 #258694
tetradic
#942586 #946B25 #259433 #254F94
square
#942586 #946B25 #259433 #254F94
split-complementary
#942586 #4F9425 #25946B
monochromatic
#320D2D #63195A #942586 #C531B2 #D65DC7

Accessibility & contrast

On white

7.32
#942586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942586
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942586#FFFFFF#000000##FFFFFF
##9425861.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#4B5C83
Tritanopia (blue-blind)
#9B3053
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #942586;
/* rgb */ color: rgb(148, 37, 134);
/* oklch */ color: oklch(47.8% 0.180 333.7);
Tailwind
colors: {
  custom: {
    50: '#b76ca9',
    500: '#942586',
    950: '#000000',
  },
}
SCSS
$custom: #942586;
$custom-light: #b76ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#942586",
  "rgb": {
    "r": 148,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 307.568,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.18036,
    "h": 333.7
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#942586
secondary
#59BB66
accent
#E35945
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942586

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

Preview Lab → · Contrast checker → · Palette generator →

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