#941EBC#941EBC

#941EBC is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.8% C 0.230 H 315.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#941EBC
RGBrgb(148, 30, 188)
HSLhsl(285, 72%, 43%)
HSVhsv(285, 84%, 74%)
CMYKcmyk(21.3%, 84%, 0%, 26.3%)
CIE-LABlab(39.34, 67.32, -57.35)
CIE-LCHlch(39.34, 88.44, 319.57°)
OKLaboklab(50.76% 0.1626 -0.1621)
OKLCHoklch(50.76% 0.23 315.1)
XYZxyz(21.7526, 10.8561, 48.5168)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941EBC #46BC1E
analogous
#451EBC #941EBC #BC1E95
triadic
#941EBC #BC941E #1EBC94
tetradic
#941EBC #BC451E #46BC1E #1E95BC
square
#941EBC #BC451E #46BC1E #1E95BC
split-complementary
#941EBC #95BC1E #1EBC45
monochromatic
#410D52 #6A1687 #941EBC #B538DF #C96DE8

Accessibility & contrast

On white

6.62
#941EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#941EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #941EBC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941EBC#FFFFFF#000000##FFFFFF
##941EBC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#105FB9
Tritanopia (blue-blind)
#904770
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #941ebc;
/* rgb */ color: rgb(148, 30, 188);
/* oklch */ color: oklch(50.8% 0.230 315.1);
Tailwind
colors: {
  custom: {
    50: '#b86cd1',
    500: '#941ebc',
    950: '#000000',
  },
}
SCSS
$custom: #941ebc;
$custom-light: #b86cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#941ebc",
  "rgb": {
    "r": 148,
    "g": 30,
    "b": 188
  },
  "hsl": {
    "h": 284.81,
    "s": 72.477,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50761,
    "c": 0.22962,
    "h": 315.1
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

primary
#941EBC
secondary
#82CE68
accent
#EF3967
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #941EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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