#783296#783296

#783296 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.164 H 314.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#783296
RGBrgb(120, 50, 150)
HSLhsl(282, 50%, 39%)
HSVhsv(282, 67%, 59%)
CMYKcmyk(20%, 66.7%, 0%, 41.2%)
CIE-LABlab(34.96, 46.85, -41.89)
CIE-LCHlch(34.96, 62.85, 318.20°)
OKLaboklab(45.96% 0.1142 -0.1178)
OKLCHoklch(45.96% 0.164 314.1)
XYZxyz(14.3904, 8.4767, 29.7264)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783296 #509632
analogous
#463296 #783296 #963282
triadic
#783296 #967832 #329678
tetradic
#783296 #964632 #509632 #328296
square
#783296 #964632 #509632 #328296
split-complementary
#783296 #829632 #329646
monochromatic
#2F133A #532368 #783296 #9B44C1 #B472D0

Accessibility & contrast

On white

7.79
#783296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#783296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783296
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783296#FFFFFF#000000##FFFFFF
##7832961.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#2E5494
Tritanopia (blue-blind)
#75455F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #783296;
/* rgb */ color: rgb(120, 50, 150);
/* oklch */ color: oklch(46.0% 0.164 314.1);
Tailwind
colors: {
  custom: {
    50: '#a26fb5',
    500: '#783296',
    950: '#000000',
  },
}
SCSS
$custom: #783296;
$custom-light: #a26fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#783296",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 282,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45964,
    "c": 0.16405,
    "h": 314.1
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#783296
secondary
#83B86C
accent
#DA4E78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783296

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

Preview Lab → · Contrast checker → · Palette generator →

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