#941F95#941F95

#941F95 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.2% C 0.198 H 327.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#941F95
RGBrgb(148, 31, 149)
HSLhsl(299, 66%, 35%)
HSVhsv(299, 79%, 58%)
CMYKcmyk(0.7%, 79.2%, 0%, 41.6%)
CIE-LABlab(36.83, 60.09, -38.03)
CIE-LCHlch(36.83, 71.11, 327.67°)
OKLaboklab(48.17% 0.1672 -0.1056)
OKLCHoklch(48.17% 0.198 327.7)
XYZxyz(18.1273, 9.4471, 29.2967)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F95 #20951F
analogous
#591F95 #941F95 #951F5B
triadic
#941F95 #95941F #1F9594
tetradic
#941F95 #95591F #20951F #1F5B95
square
#941F95 #95591F #20951F #1F5B95
split-complementary
#941F95 #5B951F #1F9559
monochromatic
#2F0A30 #621462 #941F95 #C62AC8 #DA53DB

Accessibility & contrast

On white

7.27
#941F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#941F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F95
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F95#FFFFFF#000000##FFFFFF
##941F951.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#405C92
Tritanopia (blue-blind)
#99345A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #941f95;
/* rgb */ color: rgb(148, 31, 149);
/* oklch */ color: oklch(48.2% 0.198 327.7);
Tailwind
colors: {
  custom: {
    50: '#b76ab5',
    500: '#941f95',
    950: '#000000',
  },
}
SCSS
$custom: #941f95;
$custom-light: #b76ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#941f95",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 299.492,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.19777,
    "h": 327.7
  },
  "luminance": 0.09446
}

Semantic roles & 50–950 ramp

primary
#941F95
secondary
#52BF51
accent
#E93F41
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #941F95

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

Preview Lab → · Contrast checker → · Palette generator →

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