#7D3C97#7D3C97

#7D3C97 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.0% C 0.152 H 315.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7D3C97
RGBrgb(125, 60, 151)
HSLhsl(283, 43%, 41%)
HSVhsv(283, 60%, 59%)
CMYKcmyk(17.2%, 60.3%, 0%, 40.8%)
CIE-LABlab(37.53, 43.37, -38.35)
CIE-LCHlch(37.53, 57.89, 318.52°)
OKLaboklab(48% 0.108 -0.1073)
OKLCHoklch(48% 0.152 315.2)
XYZxyz(15.6583, 9.8266, 30.3440)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3C97 #56973C
analogous
#503C97 #7D3C97 #973C84
triadic
#7D3C97 #977D3C #3C977D
tetradic
#7D3C97 #97503C #56973C #3C8497
square
#7D3C97 #97503C #56973C #3C8497
split-complementary
#7D3C97 #84973C #3C9750
monochromatic
#34193F #592B6B #7D3C97 #9E55BB #B781CD

Accessibility & contrast

On white

7.08
#7D3C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7D3C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3C97
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3C97#FFFFFF#000000##FFFFFF
##7D3C971.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#7B4C64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7d3c97;
/* rgb */ color: rgb(125, 60, 151);
/* oklch */ color: oklch(48.0% 0.152 315.2);
Tailwind
colors: {
  custom: {
    50: '#a575b6',
    500: '#7d3c97',
    950: '#000000',
  },
}
SCSS
$custom: #7d3c97;
$custom-light: #a575b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3c97",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 282.857,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47996,
    "c": 0.15227,
    "h": 315.2
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#7D3C97
secondary
#8AB778
accent
#D35579
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #7D3C97

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

Preview Lab → · Contrast checker → · Palette generator →

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