#912498#912498

#912498 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.194 H 325.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#912498
RGBrgb(145, 36, 152)
HSLhsl(296, 62%, 37%)
HSVhsv(296, 76%, 60%)
CMYKcmyk(4.6%, 76.3%, 0%, 40.4%)
CIE-LABlab(37.02, 58.46, -39.58)
CIE-LCHlch(37.02, 70.60, 325.90°)
OKLaboklab(48.27% 0.1596 -0.1102)
OKLCHoklch(48.27% 0.194 325.4)
XYZxyz(17.9750, 9.5497, 30.5962)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912498 #2B9824
analogous
#572498 #912498 #982465
triadic
#912498 #989124 #249891
tetradic
#912498 #985724 #2B9824 #246598
square
#912498 #985724 #2B9824 #246598
split-complementary
#912498 #659824 #249857
monochromatic
#330D35 #621867 #912498 #C030C9 #D15ED9

Accessibility & contrast

On white

7.22
#912498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#912498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##912498#FFFFFF#000000##FFFFFF
##9124981.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)
#004F9B
Deuteranopia (green-blind)
#3E5C95
Tritanopia (blue-blind)
#94395D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #912498;
/* rgb */ color: rgb(145, 36, 152);
/* oklch */ color: oklch(48.3% 0.194 325.4);
Tailwind
colors: {
  custom: {
    50: '#b56bb7',
    500: '#912498',
    950: '#000000',
  },
}
SCSS
$custom: #912498;
$custom-light: #b56bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#912498",
  "rgb": {
    "r": 145,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 296.379,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.19391,
    "h": 325.4
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#912498
secondary
#60BE5A
accent
#E5434D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #912498

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

Preview Lab → · Contrast checker → · Palette generator →

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