#912598#912598

#912598 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.193 H 325.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#912598
RGBrgb(145, 37, 152)
HSLhsl(296, 61%, 37%)
HSVhsv(296, 76%, 60%)
CMYKcmyk(4.6%, 75.7%, 0%, 40.4%)
CIE-LABlab(37.14, 58.13, -39.40)
CIE-LCHlch(37.14, 70.23, 325.87°)
OKLaboklab(48.35% 0.1587 -0.1097)
OKLCHoklch(48.35% 0.193 325.3)
XYZxyz(18.0057, 9.6111, 30.6064)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912598 #2C9825
analogous
#582598 #912598 #982566
triadic
#912598 #989125 #259891
tetradic
#912598 #985825 #2C9825 #256698
square
#912598 #985825 #2C9825 #256698
split-complementary
#912598 #669825 #259858
monochromatic
#330D36 #621967 #912598 #C031C9 #D15FD8

Accessibility & contrast

On white

7.19
#912598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#912598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912598
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912598#FFFFFF#000000##FFFFFF
##9125981.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#3E5C95
Tritanopia (blue-blind)
#94395D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #912598;
/* rgb */ color: rgb(145, 37, 152);
/* oklch */ color: oklch(48.3% 0.193 325.3);
Tailwind
colors: {
  custom: {
    50: '#b56cb7',
    500: '#912598',
    950: '#000000',
  },
}
SCSS
$custom: #912598;
$custom-light: #b56cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#912598",
  "rgb": {
    "r": 145,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 296.348,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.19287,
    "h": 325.3
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

primary
#912598
secondary
#62BD5C
accent
#E4444E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #912598

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

Preview Lab → · Contrast checker → · Palette generator →

#912598 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva