#91238E#91238E

#91238E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.187 H 329.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#91238E
RGBrgb(145, 35, 142)
HSLhsl(302, 61%, 35%)
HSVhsv(302, 76%, 57%)
CMYKcmyk(0%, 75.9%, 2.1%, 43.1%)
CIE-LABlab(36.32, 57.07, -34.59)
CIE-LCHlch(36.32, 66.74, 328.78°)
OKLaboklab(47.58% 0.1607 -0.0957)
OKLCHoklch(47.58% 0.187 329.2)
XYZxyz(17.1604, 9.1761, 26.4533)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#91238E #239126
analogous
#5D2391 #91238E #912357
triadic
#91238E #8E9123 #238E91
tetradic
#91238E #915D23 #239126 #235791
square
#91238E #915D23 #239126 #235791
split-complementary
#91238E #579123 #23915D
monochromatic
#2E0B2D #60175E #91238E #C22FBE #D758D3

Accessibility & contrast

On white

7.41
#91238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#91238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #91238E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##91238E#FFFFFF#000000##FFFFFF
##91238E1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#435B8B
Tritanopia (blue-blind)
#963357
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #91238e;
/* rgb */ color: rgb(145, 35, 142);
/* oklch */ color: oklch(47.6% 0.187 329.2);
Tailwind
colors: {
  custom: {
    50: '#b56baf',
    500: '#91238e',
    950: '#000000',
  },
}
SCSS
$custom: #91238e;
$custom-light: #b56baf;
$custom-dark: #000000;
JSON
{
  "hex": "#91238e",
  "rgb": {
    "r": 145,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 301.636,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.18701,
    "h": 329.2
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#91238E
secondary
#55BB58
accent
#E44844
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #91238E

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

Preview Lab → · Contrast checker → · Palette generator →

#91238E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva