#7C3E97#7C3E97

#7C3E97 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.1% C 0.149 H 314.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7C3E97
RGBrgb(124, 62, 151)
HSLhsl(282, 42%, 42%)
HSVhsv(282, 59%, 59%)
CMYKcmyk(17.9%, 58.9%, 0%, 40.8%)
CIE-LABlab(37.78, 42.06, -37.95)
CIE-LCHlch(37.78, 56.66, 317.94°)
OKLaboklab(48.15% 0.104 -0.1062)
OKLCHoklch(48.15% 0.149 314.4)
XYZxyz(15.6198, 9.9652, 30.3728)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3E97 #59973E
analogous
#503E97 #7C3E97 #973E86
triadic
#7C3E97 #977C3E #3E977C
tetradic
#7C3E97 #97503E #59973E #3E8697
square
#7C3E97 #97503E #59973E #3E8697
split-complementary
#7C3E97 #86973E #3E9750
monochromatic
#351A40 #582C6C #7C3E97 #9C58BA #B683CC

Accessibility & contrast

On white

7.02
#7C3E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7C3E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C3E97
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3E97#FFFFFF#000000##FFFFFF
##7C3E971.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#3C5B95
Tritanopia (blue-blind)
#7A4D64
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c3e97;
/* rgb */ color: rgb(124, 62, 151);
/* oklch */ color: oklch(48.1% 0.149 314.4);
Tailwind
colors: {
  custom: {
    50: '#a476b6',
    500: '#7c3e97',
    950: '#000000',
  },
}
SCSS
$custom: #7c3e97;
$custom-light: #a476b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3e97",
  "rgb": {
    "r": 124,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 281.798,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4815,
    "c": 0.14868,
    "h": 314.4
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#7C3E97
secondary
#8DB67A
accent
#D2567C
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7C3E97

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

Preview Lab → · Contrast checker → · Palette generator →

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