#7C388E#7C388E

#7C388E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 46.8% C 0.149 H 318.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7C388E
RGBrgb(124, 56, 142)
HSLhsl(287, 43%, 39%)
HSVhsv(287, 61%, 56%)
CMYKcmyk(12.7%, 60.6%, 0%, 44.3%)
CIE-LABlab(36.11, 43.20, -35.12)
CIE-LCHlch(36.11, 55.68, 320.89°)
OKLaboklab(46.77% 0.1117 -0.098)
OKLCHoklch(46.77% 0.149 318.8)
XYZxyz(14.6082, 9.0670, 26.5666)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C388E #4A8E38
analogous
#51388E #7C388E #8E3875
triadic
#7C388E #8E7C38 #388E7C
tetradic
#7C388E #8E5138 #4A8E38 #38758E
square
#7C388E #8E5138 #4A8E38 #38758E
split-complementary
#7C388E #758E38 #388E51
monochromatic
#2F1536 #562762 #7C388E #A14BB8 #B877C9

Accessibility & contrast

On white

7.46
#7C388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7C388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C388E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C388E#FFFFFF#000000##FFFFFF
##7C388E1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#7C465D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c388e;
/* rgb */ color: rgb(124, 56, 142);
/* oklch */ color: oklch(46.8% 0.149 318.8);
Tailwind
colors: {
  custom: {
    50: '#a473af',
    500: '#7c388e',
    950: '#000000',
  },
}
SCSS
$custom: #7c388e;
$custom-light: #a473af;
$custom-dark: #000000;
JSON
{
  "hex": "#7c388e",
  "rgb": {
    "r": 124,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 287.442,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46765,
    "c": 0.14858,
    "h": 318.8
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#7C388E
secondary
#7DB26F
accent
#D3556F
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7C388E

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

Preview Lab → · Contrast checker → · Palette generator →

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