#91247F#91247F

#91247F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.175 H 335.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#91247F
RGBrgb(145, 36, 127)
HSLhsl(310, 60%, 35%)
HSVhsv(310, 75%, 57%)
CMYKcmyk(0%, 75.2%, 12.4%, 43.1%)
CIE-LABlab(35.63, 54.35, -26.41)
CIE-LCHlch(35.63, 60.42, 334.08°)
OKLaboklab(46.82% 0.159 -0.0721)
OKLCHoklch(46.82% 0.175 335.6)
XYZxyz(16.1389, 8.8153, 20.9261)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91247F #249136
analogous
#6C2491 #91247F #912449
triadic
#91247F #7F9124 #247F91
tetradic
#91247F #916C24 #249136 #244991
square
#91247F #916C24 #249136 #244991
split-complementary
#91247F #499124 #24916C
monochromatic
#2F0C29 #601854 #91247F #C230AA #D659C1

Accessibility & contrast

On white

7.60
#91247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#91247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91247F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91247F#FFFFFF#000000##FFFFFF
##91247F1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254981
Deuteranopia (green-blind)
#4B5A7C
Tritanopia (blue-blind)
#982C4F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #91247f;
/* rgb */ color: rgb(145, 36, 127);
/* oklch */ color: oklch(46.8% 0.175 335.6);
Tailwind
colors: {
  custom: {
    50: '#b56aa4',
    500: '#91247f',
    950: '#000000',
  },
}
SCSS
$custom: #91247f;
$custom-light: #b56aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#91247f",
  "rgb": {
    "r": 145,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 309.908,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46816,
    "c": 0.17461,
    "h": 335.6
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#91247F
secondary
#56BA67
accent
#E35F44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #91247F

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

Preview Lab → · Contrast checker → · Palette generator →

#91247F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva