#942382#942382

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

Color values

HEX#942382
RGBrgb(148, 35, 130)
HSLhsl(310, 62%, 36%)
HSVhsv(310, 76%, 58%)
CMYKcmyk(0%, 76.4%, 12.2%, 42%)
CIE-LABlab(36.20, 55.86, -27.34)
CIE-LCHlch(36.20, 62.19, 333.92°)
OKLaboklab(47.38% 0.1634 -0.0747)
OKLCHoklch(47.38% 0.18 335.4)
XYZxyz(16.8433, 9.1112, 21.9863)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942382 #239435
analogous
#6D2394 #942382 #942349
triadic
#942382 #829423 #238294
tetradic
#942382 #946D23 #239435 #234994
square
#942382 #946D23 #239435 #234994
split-complementary
#942382 #499423 #23946D
monochromatic
#310C2B #631757 #942382 #C52FAD #D85AC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##942382#FFFFFF#000000##FFFFFF
##9423821.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)
#234A85
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#9C2C50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942382;
/* rgb */ color: rgb(148, 35, 130);
/* oklch */ color: oklch(47.4% 0.180 335.4);
Tailwind
colors: {
  custom: {
    50: '#b76ba6',
    500: '#942382',
    950: '#000000',
  },
}
SCSS
$custom: #942382;
$custom-light: #b76ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#942382",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 309.558,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.17962,
    "h": 335.4
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#942382
secondary
#57BC67
accent
#E55D43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #942382

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

Preview Lab → · Contrast checker → · Palette generator →

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