#78256F#78256F

#78256F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.146 H 332.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#78256F
RGBrgb(120, 37, 111)
HSLhsl(307, 53%, 31%)
HSVhsv(307, 69%, 47%)
CMYKcmyk(0%, 69.2%, 7.5%, 52.9%)
CIE-LABlab(30.56, 45.01, -24.58)
CIE-LCHlch(30.56, 51.29, 331.36°)
OKLaboklab(42.04% 0.1293 -0.0674)
OKLCHoklch(42.04% 0.146 332.5)
XYZxyz(11.2766, 6.4648, 15.6898)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78256F #25782E
analogous
#572578 #78256F #782545
triadic
#78256F #6F7825 #256F78
tetradic
#78256F #785725 #25782E #254578
square
#78256F #785725 #25782E #254578
split-complementary
#78256F #457825 #257857
monochromatic
#1A0818 #491744 #78256F #A7339A #C94FBB

Accessibility & contrast

On white

9.16
#78256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#78256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78256F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78256F#FFFFFF#000000##FFFFFF
##78256F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#7D2D46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78256f;
/* rgb */ color: rgb(120, 37, 111);
/* oklch */ color: oklch(42.0% 0.146 332.5);
Tailwind
colors: {
  custom: {
    50: '#a26798',
    500: '#78256f',
    950: '#000000',
  },
}
SCSS
$custom: #78256f;
$custom-light: #a26798;
$custom-dark: #000000;
JSON
{
  "hex": "#78256f",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 306.506,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.14581,
    "h": 332.5
  },
  "luminance": 0.06464
}

Semantic roles & 50–950 ramp

primary
#78256F
secondary
#4EAA58
accent
#DC5B4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #78256F

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

Preview Lab → · Contrast checker → · Palette generator →

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