#931F98#931F98

#931F98 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.200 H 326.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#931F98
RGBrgb(147, 31, 152)
HSLhsl(298, 66%, 36%)
HSVhsv(298, 80%, 60%)
CMYKcmyk(3.3%, 79.6%, 0%, 40.4%)
CIE-LABlab(36.84, 60.38, -39.85)
CIE-LCHlch(36.84, 72.35, 326.57°)
OKLaboklab(48.2% 0.166 -0.1109)
OKLCHoklch(48.2% 0.2 326.3)
XYZxyz(18.1898, 9.4513, 30.5659)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#931F98 #24981F
analogous
#561F98 #931F98 #981F60
triadic
#931F98 #98931F #1F9893
tetradic
#931F98 #98561F #24981F #1F6098
square
#931F98 #98561F #24981F #1F6098
split-complementary
#931F98 #60981F #1F9856
monochromatic
#310A32 #621565 #931F98 #C429CB #D755DC

Accessibility & contrast

On white

7.27
#931F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#931F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #931F98
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##931F98#FFFFFF#000000##FFFFFF
##931F981.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)
#004E9B
Deuteranopia (green-blind)
#3D5C95
Tritanopia (blue-blind)
#97355C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #931f98;
/* rgb */ color: rgb(147, 31, 152);
/* oklch */ color: oklch(48.2% 0.200 326.3);
Tailwind
colors: {
  custom: {
    50: '#b76ab7',
    500: '#931f98',
    950: '#000000',
  },
}
SCSS
$custom: #931f98;
$custom-light: #b76ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#931f98",
  "rgb": {
    "r": 147,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 297.521,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48202,
    "c": 0.19963,
    "h": 326.3
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #931F98

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

Preview Lab → · Contrast checker → · Palette generator →

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