#78239A#78239A

#78239A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.187 H 314.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#78239A
RGBrgb(120, 35, 154)
HSLhsl(283, 63%, 37%)
HSVhsv(283, 77%, 60%)
CMYKcmyk(22.1%, 77.3%, 0%, 39.6%)
CIE-LABlab(32.98, 54.05, -47.51)
CIE-LCHlch(32.98, 71.96, 318.69°)
OKLaboklab(44.64% 0.1296 -0.1342)
OKLCHoklch(44.64% 0.187 314)
XYZxyz(14.1785, 7.5287, 31.2719)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78239A #459A23
analogous
#3C239A #78239A #9A2381
triadic
#78239A #9A7823 #239A78
tetradic
#78239A #9A3C23 #459A23 #23819A
square
#78239A #9A3C23 #459A23 #23819A
split-complementary
#78239A #819A23 #239A3C
monochromatic
#2A0C36 #511868 #78239A #9F2ECC #B65DDA

Accessibility & contrast

On white

8.38
#78239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#78239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78239A
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78239A#FFFFFF#000000##FFFFFF
##78239A1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#195097
Tritanopia (blue-blind)
#753E5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78239a;
/* rgb */ color: rgb(120, 35, 154);
/* oklch */ color: oklch(44.6% 0.187 314.0);
Tailwind
colors: {
  custom: {
    50: '#a368b8',
    500: '#78239a',
    950: '#000000',
  },
}
SCSS
$custom: #78239a;
$custom-light: #a368b8;
$custom-dark: #000000;
JSON
{
  "hex": "#78239a",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 282.857,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44642,
    "c": 0.18659,
    "h": 314
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#78239A
secondary
#77BF5A
accent
#E64271
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #78239A

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

Preview Lab → · Contrast checker → · Palette generator →

#78239A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva