#941F96#941F96

#941F96 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.199 H 327.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#941F96
RGBrgb(148, 31, 150)
HSLhsl(299, 66%, 35%)
HSVhsv(299, 79%, 59%)
CMYKcmyk(1.3%, 79.3%, 0%, 41.2%)
CIE-LABlab(36.89, 60.25, -38.54)
CIE-LCHlch(36.89, 71.53, 327.39°)
OKLaboklab(48.23% 0.1672 -0.1071)
OKLCHoklch(48.23% 0.199 327.4)
XYZxyz(18.2075, 9.4792, 29.7189)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F96 #21961F
analogous
#591F96 #941F96 #961F5C
triadic
#941F96 #96941F #1F9694
tetradic
#941F96 #96591F #21961F #1F5C96
square
#941F96 #96591F #21961F #1F5C96
split-complementary
#941F96 #5C961F #1F9659
monochromatic
#300A31 #621563 #941F96 #C629C9 #D954DC

Accessibility & contrast

On white

7.25
#941F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#941F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F96
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F96#FFFFFF#000000##FFFFFF
##941F961.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#405C93
Tritanopia (blue-blind)
#98345B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #941f96;
/* rgb */ color: rgb(148, 31, 150);
/* oklch */ color: oklch(48.2% 0.199 327.4);
Tailwind
colors: {
  custom: {
    50: '#b76ab5',
    500: '#941f96',
    950: '#000000',
  },
}
SCSS
$custom: #941f96;
$custom-light: #b76ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#941f96",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 298.992,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.19853,
    "h": 327.4
  },
  "luminance": 0.09478
}

Semantic roles & 50–950 ramp

primary
#941F96
secondary
#54BF52
accent
#E93F42
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #941F96

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

Preview Lab → · Contrast checker → · Palette generator →

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