#912792#912792

#912792 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.186 H 327.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#912792
RGBrgb(145, 39, 146)
HSLhsl(299, 58%, 36%)
HSVhsv(299, 73%, 57%)
CMYKcmyk(0.7%, 73.3%, 0%, 42.7%)
CIE-LABlab(37.02, 56.41, -35.93)
CIE-LCHlch(37.02, 66.89, 327.51°)
OKLaboklab(48.15% 0.1569 -0.0996)
OKLCHoklch(48.15% 0.186 327.6)
XYZxyz(17.5906, 9.5474, 28.1049)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912792 #289227
analogous
#5C2792 #912792 #92275E
triadic
#912792 #929127 #279291
tetradic
#912792 #925C27 #289227 #275E92
square
#912792 #925C27 #289227 #275E92
split-complementary
#912792 #5E9227 #27925C
monochromatic
#310D31 #611A62 #912792 #C134C2 #D35FD4

Accessibility & contrast

On white

7.22
#912792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#912792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912792
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912792#FFFFFF#000000##FFFFFF
##9127921.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #912792;
/* rgb */ color: rgb(145, 39, 146);
/* oklch */ color: oklch(48.1% 0.186 327.6);
Tailwind
colors: {
  custom: {
    50: '#b56cb2',
    500: '#912792',
    950: '#000000',
  },
}
SCSS
$custom: #912792;
$custom-light: #b56cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#912792",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 299.439,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48149,
    "c": 0.18584,
    "h": 327.6
  },
  "luminance": 0.09546
}

Semantic roles & 50–950 ramp

primary
#912792
secondary
#5CBA5B
accent
#E14748
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #912792

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

Preview Lab → · Contrast checker → · Palette generator →

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