#7C398E#7C398E

#7C398E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 46.9% C 0.147 H 318.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7C398E
RGBrgb(124, 57, 142)
HSLhsl(287, 43%, 39%)
HSVhsv(287, 60%, 56%)
CMYKcmyk(12.7%, 59.9%, 0%, 44.3%)
CIE-LABlab(36.30, 42.70, -34.83)
CIE-LCHlch(36.30, 55.10, 320.80°)
OKLaboklab(46.9% 0.1104 -0.0971)
OKLCHoklch(46.9% 0.147 318.7)
XYZxyz(14.6571, 9.1649, 26.5829)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C398E #4B8E39
analogous
#52398E #7C398E #8E3976
triadic
#7C398E #8E7C39 #398E7C
tetradic
#7C398E #8E5239 #4B8E39 #39768E
square
#7C398E #8E5239 #4B8E39 #39768E
split-complementary
#7C398E #768E39 #398E52
monochromatic
#301637 #562762 #7C398E #A14DB7 #B878C9

Accessibility & contrast

On white

7.41
#7C398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7C398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C398E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C398E#FFFFFF#000000##FFFFFF
##7C398E1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#7C475E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c398e;
/* rgb */ color: rgb(124, 57, 142);
/* oklch */ color: oklch(46.9% 0.147 318.7);
Tailwind
colors: {
  custom: {
    50: '#a473af',
    500: '#7c398e',
    950: '#000000',
  },
}
SCSS
$custom: #7c398e;
$custom-light: #a473af;
$custom-dark: #000000;
JSON
{
  "hex": "#7c398e",
  "rgb": {
    "r": 124,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 287.294,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46901,
    "c": 0.14701,
    "h": 318.7
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#7C398E
secondary
#7FB271
accent
#D25570
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7C398E

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

Preview Lab → · Contrast checker → · Palette generator →

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