#7A388E#7A388E

#7A388E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.5% C 0.148 H 317.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7A388E
RGBrgb(122, 56, 142)
HSLhsl(286, 43%, 39%)
HSVhsv(286, 61%, 56%)
CMYKcmyk(14.1%, 60.6%, 0%, 44.3%)
CIE-LABlab(35.83, 42.67, -35.59)
CIE-LCHlch(35.83, 55.56, 320.16°)
OKLaboklab(46.5% 0.1092 -0.0994)
OKLCHoklch(46.5% 0.148 317.7)
XYZxyz(14.3220, 8.9195, 26.5531)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A388E #4C8E38
analogous
#4F388E #7A388E #8E3877
triadic
#7A388E #8E7A38 #388E7A
tetradic
#7A388E #8E4F38 #4C8E38 #38778E
square
#7A388E #8E4F38 #4C8E38 #38778E
split-complementary
#7A388E #778E38 #388E4F
monochromatic
#2F1536 #542762 #7A388E #9F4BB8 #B677C9

Accessibility & contrast

On white

7.54
#7A388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A388E
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A388E#FFFFFF#000000##FFFFFF
##7A388E1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a388e;
/* rgb */ color: rgb(122, 56, 142);
/* oklch */ color: oklch(46.5% 0.148 317.7);
Tailwind
colors: {
  custom: {
    50: '#a372af',
    500: '#7a388e',
    950: '#000000',
  },
}
SCSS
$custom: #7a388e;
$custom-light: #a372af;
$custom-dark: #000000;
JSON
{
  "hex": "#7a388e",
  "rgb": {
    "r": 122,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 286.047,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46498,
    "c": 0.14762,
    "h": 317.7
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#7A388E
secondary
#7FB26F
accent
#D35572
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7A388E

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

Preview Lab → · Contrast checker → · Palette generator →

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