#942584#942584

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

Color values

HEX#942584
RGBrgb(148, 37, 132)
HSLhsl(309, 60%, 36%)
HSVhsv(309, 75%, 58%)
CMYKcmyk(0%, 75%, 10.8%, 42%)
CIE-LABlab(36.53, 55.51, -28.06)
CIE-LCHlch(36.53, 62.20, 333.18°)
OKLaboklab(47.65% 0.1616 -0.0767)
OKLCHoklch(47.65% 0.179 334.6)
XYZxyz(17.0394, 9.2865, 22.7204)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942584 #259435
analogous
#6D2594 #942584 #94254D
triadic
#942584 #849425 #258494
tetradic
#942584 #946D25 #259435 #254D94
square
#942584 #946D25 #259435 #254D94
split-complementary
#942584 #4D9425 #25946D
monochromatic
#320D2D #631958 #942584 #C531B0 #D65DC5

Accessibility & contrast

On white

7.35
#942584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #942584
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942584#FFFFFF#000000##FFFFFF
##9425841.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#4C5C81
Tritanopia (blue-blind)
#9B2F52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #942584;
/* rgb */ color: rgb(148, 37, 132);
/* oklch */ color: oklch(47.7% 0.179 334.6);
Tailwind
colors: {
  custom: {
    50: '#b76ba8',
    500: '#942584',
    950: '#000000',
  },
}
SCSS
$custom: #942584;
$custom-light: #b76ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#942584",
  "rgb": {
    "r": 148,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 308.649,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.17888,
    "h": 334.6
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#942584
secondary
#59BB68
accent
#E35B45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #942584

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

Preview Lab → · Contrast checker → · Palette generator →

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