#783292#783292

#783292 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.7% C 0.160 H 315.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#783292
RGBrgb(120, 50, 146)
HSLhsl(284, 49%, 38%)
HSVhsv(284, 66%, 57%)
CMYKcmyk(17.8%, 65.8%, 0%, 42.7%)
CIE-LABlab(34.70, 45.98, -39.86)
CIE-LCHlch(34.70, 60.85, 319.08°)
OKLaboklab(45.7% 0.1143 -0.1119)
OKLCHoklch(45.7% 0.16 315.6)
XYZxyz(14.0738, 8.3501, 28.0589)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783292 #4C9232
analogous
#483292 #783292 #92327C
triadic
#783292 #927832 #329278
tetradic
#783292 #924832 #4C9232 #327C92
square
#783292 #924832 #4C9232 #327C92
split-complementary
#783292 #7C9232 #329248
monochromatic
#2D1337 #532264 #783292 #9D43BF #B570CE

Accessibility & contrast

On white

7.87
#783292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#783292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783292
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783292#FFFFFF#000000##FFFFFF
##7832921.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4D95
Deuteranopia (green-blind)
#315490
Tritanopia (blue-blind)
#76445D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #783292;
/* rgb */ color: rgb(120, 50, 146);
/* oklch */ color: oklch(45.7% 0.160 315.6);
Tailwind
colors: {
  custom: {
    50: '#a26fb2',
    500: '#783292',
    950: '#000000',
  },
}
SCSS
$custom: #783292;
$custom-light: #a26fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#783292",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 283.75,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45698,
    "c": 0.15994,
    "h": 315.6
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#783292
secondary
#7EB66A
accent
#D94F74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783292

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

Preview Lab → · Contrast checker → · Palette generator →

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