#912098#912098

#912098 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.198 H 325.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#912098
RGBrgb(145, 32, 152)
HSLhsl(297, 65%, 36%)
HSVhsv(297, 79%, 60%)
CMYKcmyk(4.6%, 78.9%, 0%, 40.4%)
CIE-LABlab(36.60, 59.69, -40.26)
CIE-LCHlch(36.60, 72.00, 326.00°)
OKLaboklab(47.96% 0.163 -0.1122)
OKLCHoklch(47.96% 0.198 325.5)
XYZxyz(17.8607, 9.3210, 30.5581)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912098 #279820
analogous
#552098 #912098 #982063
triadic
#912098 #989120 #209891
tetradic
#912098 #985520 #279820 #206398
square
#912098 #985520 #279820 #206398
split-complementary
#912098 #639820 #209855
monochromatic
#310B33 #611565 #912098 #C12BCB #D457DC

Accessibility & contrast

On white

7.33
#912098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#912098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912098
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912098#FFFFFF#000000##FFFFFF
##9120981.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#3C5B95
Tritanopia (blue-blind)
#94375C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #912098;
/* rgb */ color: rgb(145, 32, 152);
/* oklch */ color: oklch(48.0% 0.198 325.5);
Tailwind
colors: {
  custom: {
    50: '#b56ab7',
    500: '#912098',
    950: '#000000',
  },
}
SCSS
$custom: #912098;
$custom-light: #b56ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#912098",
  "rgb": {
    "r": 145,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 296.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47963,
    "c": 0.19783,
    "h": 325.5
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#912098
secondary
#5BBF54
accent
#E84049
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #912098

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

Preview Lab → · Contrast checker → · Palette generator →

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