#78348E#78348E

#78348E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.7% C 0.153 H 317.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#78348E
RGBrgb(120, 52, 142)
HSLhsl(285, 46%, 38%)
HSVhsv(285, 63%, 56%)
CMYKcmyk(15.5%, 63.4%, 0%, 44.3%)
CIE-LABlab(34.81, 44.15, -37.24)
CIE-LCHlch(34.81, 57.75, 319.85°)
OKLaboklab(45.7% 0.1118 -0.1042)
OKLCHoklch(45.7% 0.153 317)
XYZxyz(13.8555, 8.4026, 26.4779)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78348E #4A8E34
analogous
#4B348E #78348E #8E3477
triadic
#78348E #8E7834 #348E78
tetradic
#78348E #8E4B34 #4A8E34 #34778E
square
#78348E #8E4B34 #4A8E34 #34778E
split-complementary
#78348E #778E34 #348E4B
monochromatic
#2C1334 #522461 #78348E #9E44BB #B571CB

Accessibility & contrast

On white

7.83
#78348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#78348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78348E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78348E#FFFFFF#000000##FFFFFF
##78348E1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184E91
Deuteranopia (green-blind)
#36548C
Tritanopia (blue-blind)
#77445C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #78348e;
/* rgb */ color: rgb(120, 52, 142);
/* oklch */ color: oklch(45.7% 0.153 317.0);
Tailwind
colors: {
  custom: {
    50: '#a270af',
    500: '#78348e',
    950: '#000000',
  },
}
SCSS
$custom: #78348e;
$custom-light: #a270af;
$custom-dark: #000000;
JSON
{
  "hex": "#78348e",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 285.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.15286,
    "h": 317
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#78348E
secondary
#7CB36A
accent
#D65272
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #78348E

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

Preview Lab → · Contrast checker → · Palette generator →

#78348E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva