#7A378D#7A378D

#7A378D is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.3% C 0.148 H 318.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7A378D
RGBrgb(122, 55, 141)
HSLhsl(287, 44%, 38%)
HSVhsv(287, 61%, 55%)
CMYKcmyk(13.5%, 61%, 0%, 44.7%)
CIE-LABlab(35.58, 42.96, -35.37)
CIE-LCHlch(35.58, 55.65, 320.54°)
OKLaboklab(46.3% 0.1105 -0.0987)
OKLCHoklch(46.3% 0.148 318.2)
XYZxyz(14.1993, 8.7936, 26.1435)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A378D #4A8D37
analogous
#4F378D #7A378D #8D3775
triadic
#7A378D #8D7A37 #378D7A
tetradic
#7A378D #8D4F37 #4A8D37 #37758D
square
#7A378D #8D4F37 #4A8D37 #37758D
split-complementary
#7A378D #758D37 #378D4F
monochromatic
#2E1535 #542661 #7A378D #A049B8 #B775C9

Accessibility & contrast

On white

7.61
#7A378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7A378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A378D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A378D#FFFFFF#000000##FFFFFF
##7A378D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#7A455D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a378d;
/* rgb */ color: rgb(122, 55, 141);
/* oklch */ color: oklch(46.3% 0.148 318.2);
Tailwind
colors: {
  custom: {
    50: '#a372af',
    500: '#7a378d',
    950: '#000000',
  },
}
SCSS
$custom: #7a378d;
$custom-light: #a372af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a378d",
  "rgb": {
    "r": 122,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 286.744,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.463,
    "c": 0.14814,
    "h": 318.2
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#7A378D
secondary
#7DB26E
accent
#D45470
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A378D

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

Preview Lab → · Contrast checker → · Palette generator →

#7A378D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva