#942491#942491

#942491 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.190 H 329.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#942491
RGBrgb(148, 36, 145)
HSLhsl(302, 61%, 36%)
HSVhsv(302, 76%, 58%)
CMYKcmyk(0%, 75.7%, 2%, 42%)
CIE-LABlab(37.12, 57.92, -35.12)
CIE-LCHlch(37.12, 67.74, 328.77°)
OKLaboklab(48.3% 0.1631 -0.0972)
OKLCHoklch(48.3% 0.19 329.2)
XYZxyz(17.9543, 9.6034, 27.6906)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942491 #249427
analogous
#5F2494 #942491 #942459
triadic
#942491 #919424 #249194
tetradic
#942491 #945F24 #249427 #245994
square
#942491 #945F24 #249427 #245994
split-complementary
#942491 #599424 #24945F
monochromatic
#320C31 #631861 #942491 #C530C1 #D75BD4

Accessibility & contrast

On white

7.19
#942491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#942491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942491
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942491#FFFFFF#000000##FFFFFF
##9424911.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114E94
Deuteranopia (green-blind)
#455C8E
Tritanopia (blue-blind)
#993559
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942491;
/* rgb */ color: rgb(148, 36, 145);
/* oklch */ color: oklch(48.3% 0.190 329.2);
Tailwind
colors: {
  custom: {
    50: '#b76cb2',
    500: '#942491',
    950: '#000000',
  },
}
SCSS
$custom: #942491;
$custom-light: #b76cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#942491",
  "rgb": {
    "r": 148,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 301.607,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.1898,
    "h": 329.2
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#942491
secondary
#58BC5B
accent
#E44844
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #942491

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

Preview Lab → · Contrast checker → · Palette generator →

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