#941F98#941F98

#941F98 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.4% C 0.200 H 326.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#941F98
RGBrgb(148, 31, 152)
HSLhsl(298, 66%, 36%)
HSVhsv(298, 80%, 60%)
CMYKcmyk(2.6%, 79.6%, 0%, 40.4%)
CIE-LABlab(37.01, 60.59, -39.57)
CIE-LCHlch(37.01, 72.36, 326.85°)
OKLaboklab(48.36% 0.1671 -0.11)
OKLCHoklch(48.36% 0.2 326.6)
XYZxyz(18.3699, 9.5442, 30.5743)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#941F98 #23981F
analogous
#581F98 #941F98 #981F5F
triadic
#941F98 #98941F #1F9894
tetradic
#941F98 #98581F #23981F #1F5F98
square
#941F98 #98581F #23981F #1F5F98
split-complementary
#941F98 #5F981F #1F9858
monochromatic
#310A32 #631565 #941F98 #C529CB #D855DC

Accessibility & contrast

On white

7.22
#941F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#941F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #941F98
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##941F98#FFFFFF#000000##FFFFFF
##941F981.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#98355C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #941f98;
/* rgb */ color: rgb(148, 31, 152);
/* oklch */ color: oklch(48.4% 0.200 326.6);
Tailwind
colors: {
  custom: {
    50: '#b76ab7',
    500: '#941f98',
    950: '#000000',
  },
}
SCSS
$custom: #941f98;
$custom-light: #b76ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#941f98",
  "rgb": {
    "r": 148,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 298.017,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.20007,
    "h": 326.6
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#941F98
secondary
#57C053
accent
#E93F44
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #941F98

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

Preview Lab → · Contrast checker → · Palette generator →

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