#7C357E#7C357E

#7C357E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.4% C 0.137 H 326.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7C357E
RGBrgb(124, 53, 126)
HSLhsl(298, 41%, 35%)
HSVhsv(298, 58%, 49%)
CMYKcmyk(1.6%, 57.9%, 0%, 50.6%)
CIE-LABlab(34.68, 41.47, -27.52)
CIE-LCHlch(34.68, 49.77, 326.44°)
OKLaboklab(45.43% 0.1146 -0.0759)
OKLCHoklch(45.43% 0.137 326.5)
XYZxyz(13.3509, 8.3384, 20.6409)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C357E #377E35
analogous
#57357E #7C357E #7E355C
triadic
#7C357E #7E7C35 #357E7C
tetradic
#7C357E #7E5735 #377E35 #355C7E
square
#7C357E #7E5735 #377E35 #355C7E
split-complementary
#7C357E #5C7E35 #357E57
monochromatic
#271128 #522353 #7C357E #A647A9 #BF6CC1

Accessibility & contrast

On white

7.87
#7C357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7C357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C357E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C357E#FFFFFF#000000##FFFFFF
##7C357E1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#7F3E54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c357e;
/* rgb */ color: rgb(124, 53, 126);
/* oklch */ color: oklch(45.4% 0.137 326.5);
Tailwind
colors: {
  custom: {
    50: '#a470a3',
    500: '#7c357e',
    950: '#000000',
  },
}
SCSS
$custom: #7c357e;
$custom-light: #a470a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c357e",
  "rgb": {
    "r": 124,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 298.356,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45431,
    "c": 0.1374,
    "h": 326.5
  },
  "luminance": 0.08338
}

Semantic roles & 50–950 ramp

primary
#7C357E
secondary
#67AA65
accent
#D1575A
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7C357E

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

Preview Lab → · Contrast checker → · Palette generator →

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