#941FA8#941FA8

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

Color values

HEX#941FA8
RGBrgb(148, 31, 168)
HSLhsl(291, 69%, 39%)
HSVhsv(291, 82%, 66%)
CMYKcmyk(11.9%, 81.5%, 0%, 34.1%)
CIE-LABlab(38.03, 63.37, -47.59)
CIE-LCHlch(38.03, 79.25, 323.09°)
OKLaboklab(49.4% 0.1655 -0.1335)
OKLCHoklch(49.4% 0.213 321.1)
XYZxyz(19.7698, 10.1041, 37.9472)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941FA8 #33A81F
analogous
#501FA8 #941FA8 #A81F78
triadic
#941FA8 #A8941F #1FA894
tetradic
#941FA8 #A8501F #33A81F #1F78A8
square
#941FA8 #A8501F #33A81F #1F78A8
split-complementary
#941FA8 #78A81F #1FA850
monochromatic
#390C41 #661574 #941FA8 #BF2CD8 #CF60E2

Accessibility & contrast

On white

6.95
#941FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#941FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #941FA8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941FA8#FFFFFF#000000##FFFFFF
##941FA81.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#953D65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #941fa8;
/* rgb */ color: rgb(148, 31, 168);
/* oklch */ color: oklch(49.4% 0.213 321.1);
Tailwind
colors: {
  custom: {
    50: '#b86bc2',
    500: '#941fa8',
    950: '#000000',
  },
}
SCSS
$custom: #941fa8;
$custom-light: #b86bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#941fa8",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 291.241,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.21267,
    "h": 321.1
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#941FA8
secondary
#6CC65D
accent
#EC3C56
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #941FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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