#942284#942284

#942284 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.182 H 334.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#942284
RGBrgb(148, 34, 132)
HSLhsl(308, 63%, 36%)
HSVhsv(308, 77%, 58%)
CMYKcmyk(0%, 77%, 10.8%, 42%)
CIE-LABlab(36.19, 56.48, -28.59)
CIE-LCHlch(36.19, 63.30, 333.15°)
OKLaboklab(47.41% 0.1644 -0.0783)
OKLCHoklch(47.41% 0.182 334.5)
XYZxyz(16.9498, 9.1074, 22.6905)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942284 #229432
analogous
#6B2294 #942284 #94224B
triadic
#942284 #849422 #228494
tetradic
#942284 #946B22 #229432 #224B94
square
#942284 #946B22 #229432 #224B94
split-complementary
#942284 #4B9422 #22946B
monochromatic
#300B2B #621758 #942284 #C62DB0 #D958C7

Accessibility & contrast

On white

7.44
#942284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#942284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942284
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942284#FFFFFF#000000##FFFFFF
##9422841.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A87
Deuteranopia (green-blind)
#4B5B81
Tritanopia (blue-blind)
#9B2D51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942284;
/* rgb */ color: rgb(148, 34, 132);
/* oklch */ color: oklch(47.4% 0.182 334.5);
Tailwind
colors: {
  custom: {
    50: '#b76aa8',
    500: '#942284',
    950: '#000000',
  },
}
SCSS
$custom: #942284;
$custom-light: #b76aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#942284",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 308.421,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47407,
    "c": 0.18211,
    "h": 334.5
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#942284
secondary
#55BD64
accent
#E65942
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #942284

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

Preview Lab → · Contrast checker → · Palette generator →

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