#782095#782095

#782095 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.185 H 316.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#782095
RGBrgb(120, 32, 149)
HSLhsl(285, 65%, 35%)
HSVhsv(285, 79%, 58%)
CMYKcmyk(19.5%, 78.5%, 0%, 41.6%)
CIE-LABlab(32.25, 54.09, -45.63)
CIE-LCHlch(32.25, 70.77, 319.85°)
OKLaboklab(44.01% 0.1332 -0.1287)
OKLCHoklch(44.01% 0.185 316)
XYZxyz(13.6862, 7.1966, 29.0961)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782095 #3D9520
analogous
#3D2095 #782095 #952077
triadic
#782095 #957820 #209578
tetradic
#782095 #953D20 #3D9520 #207795
square
#782095 #953D20 #3D9520 #207795
split-complementary
#782095 #779520 #20953D
monochromatic
#270A30 #4F1563 #782095 #A12BC7 #B955DA

Accessibility & contrast

On white

8.61
#782095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#782095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782095
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782095#FFFFFF#000000##FFFFFF
##7820951.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#1E4E92
Tritanopia (blue-blind)
#763B5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782095;
/* rgb */ color: rgb(120, 32, 149);
/* oklch */ color: oklch(44.0% 0.185 316.0);
Tailwind
colors: {
  custom: {
    50: '#a366b5',
    500: '#782095',
    950: '#000000',
  },
}
SCSS
$custom: #782095;
$custom-light: #a366b5;
$custom-dark: #000000;
JSON
{
  "hex": "#782095",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 285.128,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44013,
    "c": 0.18516,
    "h": 316
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#782095
secondary
#6DBE53
accent
#E8406A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782095

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

Preview Lab → · Contrast checker → · Palette generator →

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