#942386#942386

#942386 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.183 H 333.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#942386
RGBrgb(148, 35, 134)
HSLhsl(307, 62%, 36%)
HSVhsv(307, 76%, 58%)
CMYKcmyk(0%, 76.4%, 9.5%, 42%)
CIE-LABlab(36.41, 56.47, -29.49)
CIE-LCHlch(36.41, 63.71, 332.43°)
OKLaboklab(47.6% 0.1636 -0.0809)
OKLCHoklch(47.6% 0.183 333.7)
XYZxyz(17.1170, 9.2207, 23.4279)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942386 #239431
analogous
#692394 #942386 #94234D
triadic
#942386 #869423 #238694
tetradic
#942386 #946923 #239431 #234D94
square
#942386 #946923 #239431 #234D94
split-complementary
#942386 #4D9423 #239469
monochromatic
#310C2C #631759 #942386 #C52FB3 #D85AC8

Accessibility & contrast

On white

7.38
#942386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#942386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942386
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942386#FFFFFF#000000##FFFFFF
##9423861.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#9B2E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #942386;
/* rgb */ color: rgb(148, 35, 134);
/* oklch */ color: oklch(47.6% 0.183 333.7);
Tailwind
colors: {
  custom: {
    50: '#b76ba9',
    500: '#942386',
    950: '#000000',
  },
}
SCSS
$custom: #942386;
$custom-light: #b76ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#942386",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 307.434,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.18253,
    "h": 333.7
  },
  "luminance": 0.09219
}

Semantic roles & 50–950 ramp

primary
#942386
secondary
#57BC63
accent
#E55743
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #942386

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

Preview Lab → · Contrast checker → · Palette generator →

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