#78238E#78238E

#78238E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.176 H 318.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#78238E
RGBrgb(120, 35, 142)
HSLhsl(288, 60%, 35%)
HSVhsv(288, 75%, 56%)
CMYKcmyk(15.5%, 75.4%, 0%, 44.3%)
CIE-LABlab(32.14, 51.60, -41.50)
CIE-LCHlch(32.14, 66.22, 321.19°)
OKLaboklab(43.78% 0.1313 -0.1166)
OKLCHoklch(43.78% 0.176 318.4)
XYZxyz(13.2286, 7.1487, 26.2690)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78238E #398E23
analogous
#43238E #78238E #8E236E
triadic
#78238E #8E7823 #238E78
tetradic
#78238E #8E4323 #398E23 #236E8E
square
#78238E #8E4323 #398E23 #236E8E
split-complementary
#78238E #6E8E23 #238E43
monochromatic
#250B2C #4F175D #78238E #A12FBF #BB56D5

Accessibility & contrast

On white

8.64
#78238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#78238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78238E
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78238E#FFFFFF#000000##FFFFFF
##78238E1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#294E8C
Tritanopia (blue-blind)
#783957
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #78238e;
/* rgb */ color: rgb(120, 35, 142);
/* oklch */ color: oklch(43.8% 0.176 318.4);
Tailwind
colors: {
  custom: {
    50: '#a367b0',
    500: '#78238e',
    950: '#000000',
  },
}
SCSS
$custom: #78238e;
$custom-light: #a367b0;
$custom-dark: #000000;
JSON
{
  "hex": "#78238e",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 287.664,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43783,
    "c": 0.17558,
    "h": 318.4
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#78238E
secondary
#68B953
accent
#E44465
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #78238E

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

Preview Lab → · Contrast checker → · Palette generator →

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