#7A388D#7A388D

#7A388D is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.4% C 0.147 H 318.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7A388D
RGBrgb(122, 56, 141)
HSLhsl(287, 43%, 39%)
HSVhsv(287, 60%, 55%)
CMYKcmyk(13.5%, 60.3%, 0%, 44.7%)
CIE-LABlab(35.77, 42.45, -35.07)
CIE-LCHlch(35.77, 55.07, 320.44°)
OKLaboklab(46.44% 0.1091 -0.0979)
OKLCHoklch(46.44% 0.147 318.1)
XYZxyz(14.2473, 8.8896, 26.1595)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A388D #4B8D38
analogous
#4F388D #7A388D #8D3875
triadic
#7A388D #8D7A38 #388D7A
tetradic
#7A388D #8D4F38 #4B8D38 #38758D
square
#7A388D #8D4F38 #4B8D38 #38758D
split-complementary
#7A388D #758D38 #388D4F
monochromatic
#2E1535 #542761 #7A388D #9F4BB7 #B677C9

Accessibility & contrast

On white

7.56
#7A388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7A388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A388D
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A388D#FFFFFF#000000##FFFFFF
##7A388D1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#3C568B
Tritanopia (blue-blind)
#7A465D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a388d;
/* rgb */ color: rgb(122, 56, 141);
/* oklch */ color: oklch(46.4% 0.147 318.1);
Tailwind
colors: {
  custom: {
    50: '#a372af',
    500: '#7a388d',
    950: '#000000',
  },
}
SCSS
$custom: #7a388d;
$custom-light: #a372af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a388d",
  "rgb": {
    "r": 122,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 286.588,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46437,
    "c": 0.14657,
    "h": 318.1
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#7A388D
secondary
#7EB26F
accent
#D35571
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A388D

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

Preview Lab → · Contrast checker → · Palette generator →

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