#942182#942182

#942182 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.182 H 335.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#942182
RGBrgb(148, 33, 130)
HSLhsl(309, 64%, 35%)
HSVhsv(309, 78%, 58%)
CMYKcmyk(0%, 77.7%, 12.2%, 42%)
CIE-LABlab(35.98, 56.48, -27.68)
CIE-LCHlch(35.98, 62.90, 333.89°)
OKLaboklab(47.22% 0.1652 -0.0756)
OKLCHoklch(47.22% 0.182 335.4)
XYZxyz(16.7861, 8.9968, 21.9673)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942182 #219433
analogous
#6C2194 #942182 #942149
triadic
#942182 #829421 #218294
tetradic
#942182 #946C21 #219433 #214994
square
#942182 #946C21 #219433 #214994
split-complementary
#942182 #499421 #21946C
monochromatic
#300B2A #621656 #942182 #C62CAE #D956C5

Accessibility & contrast

On white

7.50
#942182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#942182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942182
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942182#FFFFFF#000000##FFFFFF
##9421821.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#4B5B7F
Tritanopia (blue-blind)
#9C2B50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942182;
/* rgb */ color: rgb(148, 33, 130);
/* oklch */ color: oklch(47.2% 0.182 335.4);
Tailwind
colors: {
  custom: {
    50: '#b76aa6',
    500: '#942182',
    950: '#000000',
  },
}
SCSS
$custom: #942182;
$custom-light: #b76aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#942182",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 309.391,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47221,
    "c": 0.18172,
    "h": 335.4
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#942182
secondary
#54BD64
accent
#E75B41
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #942182

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

Preview Lab → · Contrast checker → · Palette generator →

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