#942082#942082

#942082 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.183 H 335.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#942082
RGBrgb(148, 32, 130)
HSLhsl(309, 64%, 35%)
HSVhsv(309, 78%, 58%)
CMYKcmyk(0%, 78.4%, 12.2%, 42%)
CIE-LABlab(35.87, 56.78, -27.85)
CIE-LCHlch(35.87, 63.25, 333.88°)
OKLaboklab(47.15% 0.1661 -0.0761)
OKLCHoklch(47.15% 0.183 335.4)
XYZxyz(16.7588, 8.9422, 21.9582)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942082 #209432
analogous
#6C2094 #942082 #942048
triadic
#942082 #829420 #208294
tetradic
#942082 #946C20 #209432 #204894
square
#942082 #946C20 #209432 #204894
split-complementary
#942082 #489420 #20946C
monochromatic
#2F0A2A #621556 #942082 #C62BAE #DA54C5

Accessibility & contrast

On white

7.53
#942082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#942082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942082
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942082#FFFFFF#000000##FFFFFF
##9420821.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204985
Deuteranopia (green-blind)
#4B5A7F
Tritanopia (blue-blind)
#9C2A50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #942082;
/* rgb */ color: rgb(148, 32, 130);
/* oklch */ color: oklch(47.1% 0.183 335.4);
Tailwind
colors: {
  custom: {
    50: '#b769a6',
    500: '#942082',
    950: '#000000',
  },
}
SCSS
$custom: #942082;
$custom-light: #b769a6;
$custom-dark: #000000;
JSON
{
  "hex": "#942082",
  "rgb": {
    "r": 148,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 309.31,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47145,
    "c": 0.18272,
    "h": 335.4
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#942082
secondary
#52BE63
accent
#E75A40
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #942082

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

Preview Lab → · Contrast checker → · Palette generator →

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