#941F93#941F93

#941F93 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.196 H 328.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#941F93
RGBrgb(148, 31, 147)
HSLhsl(301, 65%, 35%)
HSVhsv(301, 79%, 58%)
CMYKcmyk(0%, 79.1%, 0.7%, 42%)
CIE-LABlab(36.71, 59.76, -37.00)
CIE-LCHlch(36.71, 70.28, 328.24°)
OKLaboklab(48.05% 0.1673 -0.1026)
OKLCHoklch(48.05% 0.196 328.5)
XYZxyz(17.9690, 9.3838, 28.4630)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F93 #1F9420
analogous
#5B1F94 #941F93 #941F58
triadic
#941F93 #93941F #1F9394
tetradic
#941F93 #945B1F #1F9420 #1F5894
square
#941F93 #945B1F #1F9420 #1F5894
split-complementary
#941F93 #58941F #1F945B
monochromatic
#2F0A2E #611461 #941F93 #C72AC5 #DB53DA

Accessibility & contrast

On white

7.30
#941F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#941F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F93
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F93#FFFFFF#000000##FFFFFF
##941F931.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D96
Deuteranopia (green-blind)
#425C90
Tritanopia (blue-blind)
#993359
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #941f93;
/* rgb */ color: rgb(148, 31, 147);
/* oklch */ color: oklch(48.0% 0.196 328.5);
Tailwind
colors: {
  custom: {
    50: '#b76ab3',
    500: '#941f93',
    950: '#000000',
  },
}
SCSS
$custom: #941f93;
$custom-light: #b76ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#941f93",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 300.513,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4805,
    "c": 0.19624,
    "h": 328.5
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#941F93
secondary
#51BE52
accent
#E8413F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #941F93

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

Preview Lab → · Contrast checker → · Palette generator →

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