#942E86#942E86

#942E86 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.6% C 0.169 H 333.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#942E86
RGBrgb(148, 46, 134)
HSLhsl(308, 53%, 38%)
HSVhsv(308, 69%, 58%)
CMYKcmyk(0%, 68.9%, 9.5%, 42%)
CIE-LABlab(37.79, 52.54, -27.31)
CIE-LCHlch(37.79, 59.22, 332.53°)
OKLaboklab(48.6% 0.1521 -0.0747)
OKLCHoklch(48.6% 0.169 333.9)
XYZxyz(17.4929, 9.9726, 23.5532)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942E86 #2E943C
analogous
#6F2E94 #942E86 #942E53
triadic
#942E86 #86942E #2E8694
tetradic
#942E86 #946F2E #2E943C #2E5394
square
#942E86 #946F2E #2E943C #2E5394
split-complementary
#942E86 #53942E #2E946F
monochromatic
#371131 #651F5C #942E86 #C33DB0 #D16BC3

Accessibility & contrast

On white

7.01
#942E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#942E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942E86
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942E86#FFFFFF#000000##FFFFFF
##942E861.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F89
Deuteranopia (green-blind)
#4F5E83
Tritanopia (blue-blind)
#9B3656
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942e86;
/* rgb */ color: rgb(148, 46, 134);
/* oklch */ color: oklch(48.6% 0.169 333.9);
Tailwind
colors: {
  custom: {
    50: '#b770a9',
    500: '#942e86',
    950: '#000000',
  },
}
SCSS
$custom: #942e86;
$custom-light: #b770a9;
$custom-dark: #000000;
JSON
{
  "hex": "#942e86",
  "rgb": {
    "r": 148,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 308.235,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48597,
    "c": 0.16945,
    "h": 333.9
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#942E86
secondary
#66B871
accent
#DC604C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #942E86

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

Preview Lab → · Contrast checker → · Palette generator →

#942E86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva