#912698#912698

#912698 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.192 H 325.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#912698
RGBrgb(145, 38, 152)
HSLhsl(296, 60%, 37%)
HSVhsv(296, 75%, 60%)
CMYKcmyk(4.6%, 75%, 0%, 40.4%)
CIE-LABlab(37.25, 57.80, -39.22)
CIE-LCHlch(37.25, 69.85, 325.84°)
OKLaboklab(48.43% 0.1577 -0.1091)
OKLCHoklch(48.43% 0.192 325.3)
XYZxyz(18.0373, 9.6742, 30.6169)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912698 #2D9826
analogous
#582698 #912698 #982666
triadic
#912698 #989126 #269891
tetradic
#912698 #985826 #2D9826 #266698
square
#912698 #985826 #2D9826 #266698
split-complementary
#912698 #669826 #269858
monochromatic
#340E36 #621A67 #912698 #C032C9 #D061D7

Accessibility & contrast

On white

7.16
#912698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#912698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912698
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912698#FFFFFF#000000##FFFFFF
##9126981.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#943A5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912698;
/* rgb */ color: rgb(145, 38, 152);
/* oklch */ color: oklch(48.4% 0.192 325.3);
Tailwind
colors: {
  custom: {
    50: '#b56cb7',
    500: '#912698',
    950: '#000000',
  },
}
SCSS
$custom: #912698;
$custom-light: #b56cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#912698",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 296.316,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.19181,
    "h": 325.3
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#912698
secondary
#63BD5D
accent
#E3454E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #912698

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

Preview Lab → · Contrast checker → · Palette generator →

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