#942087#942087

#942087 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.186 H 333.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#942087
RGBrgb(148, 32, 135)
HSLhsl(307, 64%, 35%)
HSVhsv(307, 78%, 58%)
CMYKcmyk(0%, 78.4%, 8.8%, 42%)
CIE-LABlab(36.14, 57.55, -30.53)
CIE-LCHlch(36.14, 65.15, 332.05°)
OKLaboklab(47.42% 0.1664 -0.0838)
OKLCHoklch(47.42% 0.186 333.3)
XYZxyz(17.1025, 9.0797, 23.7688)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942087 #20942D
analogous
#672094 #942087 #94204D
triadic
#942087 #879420 #208794
tetradic
#942087 #946720 #20942D #204D94
square
#942087 #946720 #20942D #204D94
split-complementary
#942087 #4D9420 #209467
monochromatic
#2F0A2B #621559 #942087 #C62BB5 #DA54CB

Accessibility & contrast

On white

7.46
#942087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#942087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942087
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942087#FFFFFF#000000##FFFFFF
##9420871.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A8A
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#9B2D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942087;
/* rgb */ color: rgb(148, 32, 135);
/* oklch */ color: oklch(47.4% 0.186 333.3);
Tailwind
colors: {
  custom: {
    50: '#b76aaa',
    500: '#942087',
    950: '#000000',
  },
}
SCSS
$custom: #942087;
$custom-light: #b76aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#942087",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 306.724,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4742,
    "c": 0.18633,
    "h": 333.3
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#942087
secondary
#52BE5E
accent
#E75340
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942087

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

Preview Lab → · Contrast checker → · Palette generator →

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