#941EA8#941EA8

#941EA8 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.213 H 321.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#941EA8
RGBrgb(148, 30, 168)
HSLhsl(291, 70%, 39%)
HSVhsv(291, 82%, 66%)
CMYKcmyk(11.9%, 82.1%, 0%, 34.1%)
CIE-LABlab(37.94, 63.63, -47.74)
CIE-LCHlch(37.94, 79.55, 323.12°)
OKLaboklab(49.34% 0.1663 -0.1339)
OKLCHoklch(49.34% 0.213 321.1)
XYZxyz(19.7441, 10.0527, 37.9386)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941EA8 #32A81E
analogous
#4F1EA8 #941EA8 #A81E77
triadic
#941EA8 #A8941E #1EA894
tetradic
#941EA8 #A84F1E #32A81E #1E77A8
square
#941EA8 #A84F1E #32A81E #1E77A8
split-complementary
#941EA8 #77A81E #1EA84F
monochromatic
#390B40 #661574 #941EA8 #C02AD9 #CF5EE2

Accessibility & contrast

On white

6.98
#941EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#941EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #941EA8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941EA8#FFFFFF#000000##FFFFFF
##941EA81.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#315DA5
Tritanopia (blue-blind)
#953D65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #941ea8;
/* rgb */ color: rgb(148, 30, 168);
/* oklch */ color: oklch(49.3% 0.213 321.1);
Tailwind
colors: {
  custom: {
    50: '#b86ac2',
    500: '#941ea8',
    950: '#000000',
  },
}
SCSS
$custom: #941ea8;
$custom-light: #b86ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#941ea8",
  "rgb": {
    "r": 148,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 291.304,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.21349,
    "h": 321.1
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#941EA8
secondary
#6BC75B
accent
#ED3B55
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #941EA8

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

Preview Lab → · Contrast checker → · Palette generator →

#941EA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva