#912398#912398

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

Color values

HEX#912398
RGBrgb(145, 35, 152)
HSLhsl(296, 63%, 37%)
HSVhsv(296, 77%, 60%)
CMYKcmyk(4.6%, 77%, 0%, 40.4%)
CIE-LABlab(36.91, 58.78, -39.76)
CIE-LCHlch(36.91, 70.96, 325.92°)
OKLaboklab(48.19% 0.1604 -0.1107)
OKLCHoklch(48.19% 0.195 325.4)
XYZxyz(17.9452, 9.4900, 30.5862)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912398 #2A9823
analogous
#572398 #912398 #982365
triadic
#912398 #989123 #239891
tetradic
#912398 #985723 #2A9823 #236598
square
#912398 #985723 #2A9823 #236598
split-complementary
#912398 #659823 #239857
monochromatic
#320C35 #621866 #912398 #C02ECA #D25CD9

Accessibility & contrast

On white

7.25
#912398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#912398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912398
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912398#FFFFFF#000000##FFFFFF
##9123981.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #912398;
/* rgb */ color: rgb(145, 35, 152);
/* oklch */ color: oklch(48.2% 0.195 325.4);
Tailwind
colors: {
  custom: {
    50: '#b56bb7',
    500: '#912398',
    950: '#000000',
  },
}
SCSS
$custom: #912398;
$custom-light: #b56bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#912398",
  "rgb": {
    "r": 145,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 296.41,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48188,
    "c": 0.19492,
    "h": 325.4
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#912398
secondary
#5FBE59
accent
#E6424C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #912398

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

Preview Lab → · Contrast checker → · Palette generator →

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