#942282#942282

#942282 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.181 H 335.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#942282
RGBrgb(148, 34, 130)
HSLhsl(309, 63%, 36%)
HSVhsv(309, 77%, 58%)
CMYKcmyk(0%, 77%, 12.2%, 42%)
CIE-LABlab(36.09, 56.17, -27.51)
CIE-LCHlch(36.09, 62.55, 333.90°)
OKLaboklab(47.3% 0.1643 -0.0752)
OKLCHoklch(47.3% 0.181 335.4)
XYZxyz(16.8143, 9.0532, 21.9767)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942282 #229434
analogous
#6D2294 #942282 #942249
triadic
#942282 #829422 #228294
tetradic
#942282 #946D22 #229434 #224994
square
#942282 #946D22 #229434 #224994
split-complementary
#942282 #499422 #22946D
monochromatic
#300B2B #621756 #942282 #C62DAE #D958C4

Accessibility & contrast

On white

7.47
#942282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#942282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942282
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942282#FFFFFF#000000##FFFFFF
##9422821.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #942282;
/* rgb */ color: rgb(148, 34, 130);
/* oklch */ color: oklch(47.3% 0.181 335.4);
Tailwind
colors: {
  custom: {
    50: '#b76aa6',
    500: '#942282',
    950: '#000000',
  },
}
SCSS
$custom: #942282;
$custom-light: #b76aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#942282",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 309.474,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47298,
    "c": 0.18068,
    "h": 335.4
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#942282
secondary
#55BD65
accent
#E65C42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #942282

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

Preview Lab → · Contrast checker → · Palette generator →

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