#912892#912892

#912892 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.185 H 327.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#912892
RGBrgb(145, 40, 146)
HSLhsl(299, 57%, 36%)
HSVhsv(299, 73%, 57%)
CMYKcmyk(0.7%, 72.6%, 0%, 42.7%)
CIE-LABlab(37.14, 56.06, -35.74)
CIE-LCHlch(37.14, 66.49, 327.49°)
OKLaboklab(48.24% 0.1559 -0.099)
OKLCHoklch(48.24% 0.185 327.6)
XYZxyz(17.6239, 9.6139, 28.1160)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912892 #299228
analogous
#5C2892 #912892 #92285E
triadic
#912892 #929128 #289291
tetradic
#912892 #925C28 #299228 #285E92
square
#912892 #925C28 #299228 #285E92
split-complementary
#912892 #5E9228 #28925C
monochromatic
#320E32 #611B62 #912892 #C135C2 #D361D4

Accessibility & contrast

On white

7.19
#912892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#912892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912892
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912892#FFFFFF#000000##FFFFFF
##9128921.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F95
Deuteranopia (green-blind)
#435C8F
Tritanopia (blue-blind)
#95385A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #912892;
/* rgb */ color: rgb(145, 40, 146);
/* oklch */ color: oklch(48.2% 0.185 327.6);
Tailwind
colors: {
  custom: {
    50: '#b56db2',
    500: '#912892',
    950: '#000000',
  },
}
SCSS
$custom: #912892;
$custom-light: #b56db2;
$custom-dark: #000000;
JSON
{
  "hex": "#912892",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 299.434,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48237,
    "c": 0.18472,
    "h": 327.6
  },
  "luminance": 0.09613
}

Semantic roles & 50–950 ramp

primary
#912892
secondary
#5DB95D
accent
#E04849
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #912892

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

Preview Lab → · Contrast checker → · Palette generator →

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