#912298#912298

#912298 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.196 H 325.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#912298
RGBrgb(145, 34, 152)
HSLhsl(296, 63%, 36%)
HSVhsv(296, 78%, 60%)
CMYKcmyk(4.6%, 77.6%, 0%, 40.4%)
CIE-LABlab(36.80, 59.09, -39.93)
CIE-LCHlch(36.80, 71.31, 325.95°)
OKLaboklab(48.11% 0.1613 -0.1112)
OKLCHoklch(48.11% 0.196 325.4)
XYZxyz(17.9162, 9.4320, 30.5766)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912298 #299822
analogous
#562298 #912298 #982264
triadic
#912298 #989122 #229891
tetradic
#912298 #985622 #299822 #226498
square
#912298 #985622 #299822 #226498
split-complementary
#912298 #649822 #229856
monochromatic
#320C34 #611766 #912298 #C12DCA #D35ADA

Accessibility & contrast

On white

7.28
#912298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#912298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912298
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912298#FFFFFF#000000##FFFFFF
##9122981.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#94385C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #912298;
/* rgb */ color: rgb(145, 34, 152);
/* oklch */ color: oklch(48.1% 0.196 325.4);
Tailwind
colors: {
  custom: {
    50: '#b56bb7',
    500: '#912298',
    950: '#000000',
  },
}
SCSS
$custom: #912298;
$custom-light: #b56bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#912298",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 296.441,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.19592,
    "h": 325.4
  },
  "luminance": 0.09431
}

Semantic roles & 50–950 ramp

primary
#912298
secondary
#5DBE57
accent
#E6414B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #912298

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

Preview Lab → · Contrast checker → · Palette generator →

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