#941DC2#941DC2

#941DC2 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 51.2% C 0.235 H 313.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#941DC2
RGBrgb(148, 29, 194)
HSLhsl(283, 74%, 44%)
HSVhsv(283, 85%, 76%)
CMYKcmyk(23.7%, 85.1%, 0%, 23.9%)
CIE-LABlab(39.70, 68.71, -60.28)
CIE-LCHlch(39.70, 91.41, 318.74°)
OKLaboklab(51.15% 0.1618 -0.1708)
OKLCHoklch(51.15% 0.235 313.5)
XYZxyz(22.3880, 11.0704, 51.9860)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941DC2 #4BC21D
analogous
#421DC2 #941DC2 #C21D9D
triadic
#941DC2 #C2941D #1DC294
tetradic
#941DC2 #C2421D #4BC21D #1D9DC2
square
#941DC2 #C2421D #4BC21D #1D9DC2
split-complementary
#941DC2 #9DC21D #1DC242
monochromatic
#430D58 #6B158D #941DC2 #B33BE2 #C870EA

Accessibility & contrast

On white

6.53
#941DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#941DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #941DC2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941DC2#FFFFFF#000000##FFFFFF
##941DC21.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#8F4A74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #941dc2;
/* rgb */ color: rgb(148, 29, 194);
/* oklch */ color: oklch(51.2% 0.235 313.5);
Tailwind
colors: {
  custom: {
    50: '#b96cd5',
    500: '#941dc2',
    950: '#000000',
  },
}
SCSS
$custom: #941dc2;
$custom-light: #b96cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#941dc2",
  "rgb": {
    "r": 148,
    "g": 29,
    "b": 194
  },
  "hsl": {
    "h": 283.273,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51152,
    "c": 0.23523,
    "h": 313.5
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#941DC2
secondary
#87D06B
accent
#F1376B
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #941DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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