#942482#942482

#942482 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.179 H 335.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#942482
RGBrgb(148, 36, 130)
HSLhsl(310, 61%, 36%)
HSVhsv(310, 76%, 58%)
CMYKcmyk(0%, 75.7%, 12.2%, 42%)
CIE-LABlab(36.31, 55.53, -27.16)
CIE-LCHlch(36.31, 61.82, 333.94°)
OKLaboklab(47.46% 0.1624 -0.0742)
OKLCHoklch(47.46% 0.179 335.5)
XYZxyz(16.8731, 9.1709, 21.9963)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942482 #249436
analogous
#6E2494 #942482 #94244A
triadic
#942482 #829424 #248294
tetradic
#942482 #946E24 #249436 #244A94
square
#942482 #946E24 #249436 #244A94
split-complementary
#942482 #4A9424 #24946E
monochromatic
#320C2C #631857 #942482 #C530AD #D75BC3

Accessibility & contrast

On white

7.41
#942482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#942482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942482
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942482#FFFFFF#000000##FFFFFF
##9424821.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#9C2D51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #942482;
/* rgb */ color: rgb(148, 36, 130);
/* oklch */ color: oklch(47.5% 0.179 335.5);
Tailwind
colors: {
  custom: {
    50: '#b76ba6',
    500: '#942482',
    950: '#000000',
  },
}
SCSS
$custom: #942482;
$custom-light: #b76ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#942482",
  "rgb": {
    "r": 148,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 309.643,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4746,
    "c": 0.17853,
    "h": 335.5
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#942482
secondary
#58BC68
accent
#E45E44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #942482

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

Preview Lab → · Contrast checker → · Palette generator →

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