#942B8A#942B8A

#942B8A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.176 H 332.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#942B8A
RGBrgb(148, 43, 138)
HSLhsl(306, 55%, 37%)
HSVhsv(306, 71%, 58%)
CMYKcmyk(0%, 70.9%, 6.8%, 42%)
CIE-LABlab(37.59, 54.34, -30.09)
CIE-LCHlch(37.59, 62.12, 331.02°)
OKLaboklab(48.52% 0.1558 -0.0826)
OKLCHoklch(48.52% 0.176 332.1)
XYZxyz(17.6641, 9.8600, 25.0127)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942B8A #2B9435
analogous
#692B94 #942B8A #942B56
triadic
#942B8A #8A942B #2B8A94
tetradic
#942B8A #94692B #2B9435 #2B5694
square
#942B8A #94692B #2B9435 #2B5694
split-complementary
#942B8A #56942B #2B9469
monochromatic
#350F32 #651D5E #942B8A #C339B6 #D367C8

Accessibility & contrast

On white

7.07
#942B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#942B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942B8A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942B8A#FFFFFF#000000##FFFFFF
##942B8A1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#9A3657
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942b8a;
/* rgb */ color: rgb(148, 43, 138);
/* oklch */ color: oklch(48.5% 0.176 332.1);
Tailwind
colors: {
  custom: {
    50: '#b76eac',
    500: '#942b8a',
    950: '#000000',
  },
}
SCSS
$custom: #942b8a;
$custom-light: #b76eac;
$custom-dark: #000000;
JSON
{
  "hex": "#942b8a",
  "rgb": {
    "r": 148,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 305.714,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48516,
    "c": 0.17638,
    "h": 332.1
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#942B8A
secondary
#62B96A
accent
#DE5849
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #942B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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