#912795#912795

#912795 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.188 H 326.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#912795
RGBrgb(145, 39, 149)
HSLhsl(298, 59%, 37%)
HSVhsv(298, 74%, 58%)
CMYKcmyk(2.7%, 73.8%, 0%, 41.6%)
CIE-LABlab(37.19, 56.93, -37.49)
CIE-LCHlch(37.19, 68.17, 326.64°)
OKLaboklab(48.33% 0.1569 -0.1041)
OKLCHoklch(48.33% 0.188 326.4)
XYZxyz(17.8271, 9.6419, 29.3501)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912795 #2B9527
analogous
#5A2795 #912795 #952762
triadic
#912795 #959127 #279591
tetradic
#912795 #955A27 #2B9527 #276295
square
#912795 #955A27 #2B9527 #276295
split-complementary
#912795 #629527 #27955A
monochromatic
#330E34 #621A64 #912795 #C034C6 #D161D6

Accessibility & contrast

On white

7.17
#912795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #912795
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912795#FFFFFF#000000##FFFFFF
##9127951.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F98
Deuteranopia (green-blind)
#415C92
Tritanopia (blue-blind)
#95395C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #912795;
/* rgb */ color: rgb(145, 39, 149);
/* oklch */ color: oklch(48.3% 0.188 326.4);
Tailwind
colors: {
  custom: {
    50: '#b56db4',
    500: '#912795',
    950: '#000000',
  },
}
SCSS
$custom: #912795;
$custom-light: #b56db4;
$custom-dark: #000000;
JSON
{
  "hex": "#912795",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 297.818,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.18828,
    "h": 326.4
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#912795
secondary
#60BB5D
accent
#E2464C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #912795

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

Preview Lab → · Contrast checker → · Palette generator →

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