#942391#942391

#942391 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.191 H 329.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#942391
RGBrgb(148, 35, 145)
HSLhsl(302, 62%, 36%)
HSVhsv(302, 76%, 58%)
CMYKcmyk(0%, 76.4%, 2%, 42%)
CIE-LABlab(37.01, 58.24, -35.30)
CIE-LCHlch(37.01, 68.10, 328.78°)
OKLaboklab(48.22% 0.164 -0.0977)
OKLCHoklch(48.22% 0.191 329.2)
XYZxyz(17.9245, 9.5437, 27.6806)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942391 #239426
analogous
#5E2394 #942391 #942358
triadic
#942391 #919423 #239194
tetradic
#942391 #945E23 #239426 #235894
square
#942391 #945E23 #239426 #235894
split-complementary
#942391 #589423 #23945E
monochromatic
#310C30 #631761 #942391 #C52FC1 #D85AD5

Accessibility & contrast

On white

7.22
#942391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#942391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942391
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942391#FFFFFF#000000##FFFFFF
##9423911.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E94
Deuteranopia (green-blind)
#455C8E
Tritanopia (blue-blind)
#993459
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #942391;
/* rgb */ color: rgb(148, 35, 145);
/* oklch */ color: oklch(48.2% 0.191 329.2);
Tailwind
colors: {
  custom: {
    50: '#b76bb2',
    500: '#942391',
    950: '#000000',
  },
}
SCSS
$custom: #942391;
$custom-light: #b76bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#942391",
  "rgb": {
    "r": 148,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 301.593,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.19083,
    "h": 329.2
  },
  "luminance": 0.09542
}

Semantic roles & 50–950 ramp

primary
#942391
secondary
#57BC59
accent
#E54743
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #942391

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

Preview Lab → · Contrast checker → · Palette generator →

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