#78239F#78239F

#78239F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.191 H 312.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#78239F
RGBrgb(120, 35, 159)
HSLhsl(281, 64%, 38%)
HSVhsv(281, 78%, 62%)
CMYKcmyk(24.5%, 78%, 0%, 37.6%)
CIE-LABlab(33.35, 55.09, -49.95)
CIE-LCHlch(33.35, 74.37, 317.80°)
OKLaboklab(45.02% 0.1288 -0.1414)
OKLCHoklch(45.02% 0.191 312.3)
XYZxyz(14.6036, 7.6988, 33.5109)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78239F #4A9F23
analogous
#3A239F #78239F #9F2388
triadic
#78239F #9F7823 #239F78
tetradic
#78239F #9F3A23 #4A9F23 #23889F
square
#78239F #9F3A23 #4A9F23 #23889F
split-complementary
#78239F #889F23 #239F3A
monochromatic
#2C0D3B #52186D #78239F #9E2ED1 #B560DC

Accessibility & contrast

On white

8.27
#78239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#78239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78239F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78239F#FFFFFF#000000##FFFFFF
##78239F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#0E509C
Tritanopia (blue-blind)
#734160
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78239f;
/* rgb */ color: rgb(120, 35, 159);
/* oklch */ color: oklch(45.0% 0.191 312.3);
Tailwind
colors: {
  custom: {
    50: '#a368bc',
    500: '#78239f',
    950: '#000000',
  },
}
SCSS
$custom: #78239f;
$custom-light: #a368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78239f",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 281.129,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45016,
    "c": 0.19121,
    "h": 312.3
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#78239F
secondary
#7CC15D
accent
#E74175
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78239F

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

Preview Lab → · Contrast checker → · Palette generator →

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