#783192#783192

#783192 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.6% C 0.161 H 315.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#783192
RGBrgb(120, 49, 146)
HSLhsl(284, 50%, 38%)
HSVhsv(284, 66%, 57%)
CMYKcmyk(17.8%, 66.4%, 0%, 42.7%)
CIE-LABlab(34.53, 46.46, -40.13)
CIE-LCHlch(34.53, 61.39, 319.18°)
OKLaboklab(45.57% 0.1155 -0.1127)
OKLCHoklch(45.57% 0.161 315.7)
XYZxyz(14.0315, 8.2655, 28.0448)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783192 #4B9231
analogous
#483192 #783192 #92317B
triadic
#783192 #927831 #319278
tetradic
#783192 #924831 #4B9231 #317B92
square
#783192 #924831 #4B9231 #317B92
split-complementary
#783192 #7B9231 #319248
monochromatic
#2D1236 #522264 #783192 #9D41BF #B56FCF

Accessibility & contrast

On white

7.92
#783192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#783192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783192
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783192#FFFFFF#000000##FFFFFF
##7831921.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074D95
Deuteranopia (green-blind)
#305390
Tritanopia (blue-blind)
#76435D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #783192;
/* rgb */ color: rgb(120, 49, 146);
/* oklch */ color: oklch(45.6% 0.161 315.7);
Tailwind
colors: {
  custom: {
    50: '#a26eb2',
    500: '#783192',
    950: '#000000',
  },
}
SCSS
$custom: #783192;
$custom-light: #a26eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#783192",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 283.918,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.16137,
    "h": 315.7
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#783192
secondary
#7DB669
accent
#D94F74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #783192

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

Preview Lab → · Contrast checker → · Palette generator →

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