#7D3697#7D3697

#7D3697 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.2% C 0.161 H 315.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7D3697
RGBrgb(125, 54, 151)
HSLhsl(284, 47%, 40%)
HSVhsv(284, 64%, 59%)
CMYKcmyk(17.2%, 64.2%, 0%, 40.8%)
CIE-LABlab(36.43, 46.37, -40.10)
CIE-LCHlch(36.43, 61.30, 319.15°)
OKLaboklab(47.2% 0.1157 -0.1124)
OKLCHoklch(47.2% 0.161 315.8)
XYZxyz(15.3617, 9.2332, 30.2451)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3697 #509736
analogous
#4D3697 #7D3697 #973680
triadic
#7D3697 #977D36 #36977D
tetradic
#7D3697 #974D36 #509736 #368097
square
#7D3697 #974D36 #509736 #368097
split-complementary
#7D3697 #809736 #36974D
monochromatic
#32163D #58266A #7D3697 #A04BBF #B878CF

Accessibility & contrast

On white

7.38
#7D3697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7D3697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3697
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3697#FFFFFF#000000##FFFFFF
##7D36971.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#365895
Tritanopia (blue-blind)
#7B4861
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d3697;
/* rgb */ color: rgb(125, 54, 151);
/* oklch */ color: oklch(47.2% 0.161 315.8);
Tailwind
colors: {
  custom: {
    50: '#a672b6',
    500: '#7d3697',
    950: '#000000',
  },
}
SCSS
$custom: #7d3697;
$custom-light: #a672b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3697",
  "rgb": {
    "r": 125,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 283.918,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47197,
    "c": 0.16136,
    "h": 315.8
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#7D3697
secondary
#84B871
accent
#D75175
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3697

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

Preview Lab → · Contrast checker → · Palette generator →

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