#78348D#78348D

#78348D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.6% C 0.152 H 317.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#78348D
RGBrgb(120, 52, 141)
HSLhsl(286, 46%, 38%)
HSVhsv(286, 63%, 55%)
CMYKcmyk(14.9%, 63.1%, 0%, 44.7%)
CIE-LABlab(34.75, 43.93, -36.72)
CIE-LCHlch(34.75, 57.26, 320.11°)
OKLaboklab(45.63% 0.1118 -0.1027)
OKLCHoklch(45.63% 0.152 317.4)
XYZxyz(13.7808, 8.3727, 26.0843)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78348D #498D34
analogous
#4C348D #78348D #8D3475
triadic
#78348D #8D7834 #348D78
tetradic
#78348D #8D4C34 #498D34 #34758D
square
#78348D #8D4C34 #498D34 #34758D
split-complementary
#78348D #758D34 #348D4C
monochromatic
#2C1334 #522460 #78348D #9E44BA #B571CB

Accessibility & contrast

On white

7.85
#78348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#78348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78348D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78348D#FFFFFF#000000##FFFFFF
##78348D1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D90
Deuteranopia (green-blind)
#37548B
Tritanopia (blue-blind)
#77435B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #78348d;
/* rgb */ color: rgb(120, 52, 141);
/* oklch */ color: oklch(45.6% 0.152 317.4);
Tailwind
colors: {
  custom: {
    50: '#a270af',
    500: '#78348d',
    950: '#000000',
  },
}
SCSS
$custom: #78348d;
$custom-light: #a270af;
$custom-dark: #000000;
JSON
{
  "hex": "#78348d",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 285.843,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.15183,
    "h": 317.4
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#78348D
secondary
#7BB36A
accent
#D65271
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #78348D

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

Preview Lab → · Contrast checker → · Palette generator →

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