#7D3F97#7D3F97

#7D3F97 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.4% C 0.148 H 314.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7D3F97
RGBrgb(125, 63, 151)
HSLhsl(282, 41%, 42%)
HSVhsv(282, 58%, 59%)
CMYKcmyk(17.2%, 58.3%, 0%, 40.8%)
CIE-LABlab(38.11, 41.81, -37.42)
CIE-LCHlch(38.11, 56.11, 318.17°)
OKLaboklab(48.42% 0.104 -0.1047)
OKLCHoklch(48.42% 0.148 314.8)
XYZxyz(15.8200, 10.1498, 30.3979)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3F97 #59973F
analogous
#513F97 #7D3F97 #973F85
triadic
#7D3F97 #977D3F #3F977D
tetradic
#7D3F97 #97513F #59973F #3F8597
square
#7D3F97 #97513F #59973F #3F8597
split-complementary
#7D3F97 #85973F #3F9751
monochromatic
#361B41 #592D6C #7D3F97 #9D59BA #B785CC

Accessibility & contrast

On white

6.93
#7D3F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7D3F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3F97
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3F97#FFFFFF#000000##FFFFFF
##7D3F971.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#3E5B95
Tritanopia (blue-blind)
#7B4E65
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3f97;
/* rgb */ color: rgb(125, 63, 151);
/* oklch */ color: oklch(48.4% 0.148 314.8);
Tailwind
colors: {
  custom: {
    50: '#a577b6',
    500: '#7d3f97',
    950: '#000000',
  },
}
SCSS
$custom: #7d3f97;
$custom-light: #a577b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3f97",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 282.273,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4842,
    "c": 0.14752,
    "h": 314.8
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#7D3F97
secondary
#8DB67C
accent
#D1577B
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7D3F97

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

Preview Lab → · Contrast checker → · Palette generator →

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