#78398E#78398E

#78398E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.4% C 0.145 H 316.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#78398E
RGBrgb(120, 57, 142)
HSLhsl(284, 43%, 39%)
HSVhsv(284, 60%, 56%)
CMYKcmyk(15.5%, 59.9%, 0%, 44.3%)
CIE-LABlab(35.74, 41.62, -35.75)
CIE-LCHlch(35.74, 54.87, 319.33°)
OKLaboklab(46.37% 0.1052 -0.0999)
OKLCHoklch(46.37% 0.145 316.5)
XYZxyz(14.0906, 8.8728, 26.5563)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78398E #4F8E39
analogous
#4E398E #78398E #8E397A
triadic
#78398E #8E7839 #398E78
tetradic
#78398E #8E4E39 #4F8E39 #397A8E
square
#78398E #8E4E39 #4F8E39 #397A8E
split-complementary
#78398E #7A8E39 #398E4E
monochromatic
#2E1637 #532762 #78398E #9C4DB7 #B478C9

Accessibility & contrast

On white

7.57
#78398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#78398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78398E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78398E#FFFFFF#000000##FFFFFF
##78398E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#3A568C
Tritanopia (blue-blind)
#77475E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #78398e;
/* rgb */ color: rgb(120, 57, 142);
/* oklch */ color: oklch(46.4% 0.145 316.5);
Tailwind
colors: {
  custom: {
    50: '#a173af',
    500: '#78398e',
    950: '#000000',
  },
}
SCSS
$custom: #78398e;
$custom-light: #a173af;
$custom-dark: #000000;
JSON
{
  "hex": "#78398e",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 284.471,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46372,
    "c": 0.1451,
    "h": 316.5
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#78398E
secondary
#82B271
accent
#D25576
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #78398E

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

Preview Lab → · Contrast checker → · Palette generator →

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