#7C458D#7C458D

#7C458D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 48.6% C 0.126 H 317.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7C458D
RGBrgb(124, 69, 141)
HSLhsl(286, 34%, 41%)
HSVhsv(286, 51%, 55%)
CMYKcmyk(12.1%, 51.1%, 0%, 44.7%)
CIE-LABlab(38.66, 36.06, -30.48)
CIE-LCHlch(38.66, 47.21, 319.79°)
OKLaboklab(48.62% 0.0932 -0.0846)
OKLCHoklch(48.62% 0.126 317.8)
XYZxyz(15.2474, 10.4649, 26.4109)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C458D #568D45
analogous
#58458D #7C458D #8D457A
triadic
#7C458D #8D7C45 #458D7C
tetradic
#7C458D #8D5845 #568D45 #457A8D
square
#7C458D #8D5845 #568D45 #457A8D
split-complementary
#7C458D #7A8D45 #458D58
monochromatic
#341D3B #583164 #7C458D #9D5FB1 #B688C5

Accessibility & contrast

On white

6.79
#7C458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7C458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C458D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C458D#FFFFFF#000000##FFFFFF
##7C458D1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#7C4F62
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7c458d;
/* rgb */ color: rgb(124, 69, 141);
/* oklch */ color: oklch(48.6% 0.126 317.8);
Tailwind
colors: {
  custom: {
    50: '#a47bae',
    500: '#7c458d',
    950: '#000000',
  },
}
SCSS
$custom: #7c458d;
$custom-light: #a47bae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c458d",
  "rgb": {
    "r": 124,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 285.833,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48621,
    "c": 0.12584,
    "h": 317.8
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#7C458D
secondary
#8AB07E
accent
#CA5D77
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #7C458D

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

Preview Lab → · Contrast checker → · Palette generator →

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