#912895#912895

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

Color values

HEX#912895
RGBrgb(145, 40, 149)
HSLhsl(298, 58%, 37%)
HSVhsv(298, 73%, 58%)
CMYKcmyk(2.7%, 73.2%, 0%, 41.6%)
CIE-LABlab(37.31, 56.59, -37.29)
CIE-LCHlch(37.31, 67.77, 326.61°)
OKLaboklab(48.42% 0.1559 -0.1036)
OKLCHoklch(48.42% 0.187 326.4)
XYZxyz(17.8603, 9.7085, 29.3612)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912895 #2C9528
analogous
#5B2895 #912895 #952863
triadic
#912895 #959128 #289591
tetradic
#912895 #955B28 #2C9528 #286395
square
#912895 #955B28 #2C9528 #286395
split-complementary
#912895 #639528 #28955B
monochromatic
#330E35 #621B65 #912895 #C035C5 #D162D5

Accessibility & contrast

On white

7.14
#912895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#912895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912895
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912895#FFFFFF#000000##FFFFFF
##9128951.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F98
Deuteranopia (green-blind)
#425C92
Tritanopia (blue-blind)
#953A5C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #912895;
/* rgb */ color: rgb(145, 40, 149);
/* oklch */ color: oklch(48.4% 0.187 326.4);
Tailwind
colors: {
  custom: {
    50: '#b56db4',
    500: '#912895',
    950: '#000000',
  },
}
SCSS
$custom: #912895;
$custom-light: #b56db4;
$custom-dark: #000000;
JSON
{
  "hex": "#912895",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 297.798,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48418,
    "c": 0.18716,
    "h": 326.4
  },
  "luminance": 0.09707
}

Semantic roles & 50–950 ramp

primary
#912895
secondary
#62BB5E
accent
#E1474D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #912895

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

Preview Lab → · Contrast checker → · Palette generator →

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