#7D3F96#7D3F96

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

Color values

HEX#7D3F96
RGBrgb(125, 63, 150)
HSLhsl(283, 41%, 42%)
HSVhsv(283, 58%, 59%)
CMYKcmyk(16.7%, 58%, 0%, 41.2%)
CIE-LABlab(38.05, 41.58, -36.91)
CIE-LCHlch(38.05, 55.60, 318.41°)
OKLaboklab(48.36% 0.1039 -0.1032)
OKLCHoklch(48.36% 0.146 315.2)
XYZxyz(15.7391, 10.1175, 29.9720)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3F96 #58963F
analogous
#523F96 #7D3F96 #963F84
triadic
#7D3F96 #967D3F #3F967D
tetradic
#7D3F96 #96523F #58963F #3F8496
square
#7D3F96 #96523F #58963F #3F8496
split-complementary
#7D3F96 #84963F #3F9652
monochromatic
#351B40 #592D6B #7D3F96 #9E59B9 #B784CB

Accessibility & contrast

On white

6.95
#7D3F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7D3F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3F96
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3F96#FFFFFF#000000##FFFFFF
##7D3F961.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#7B4E64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d3f96;
/* rgb */ color: rgb(125, 63, 150);
/* oklch */ color: oklch(48.4% 0.146 315.2);
Tailwind
colors: {
  custom: {
    50: '#a577b5',
    500: '#7d3f96',
    950: '#000000',
  },
}
SCSS
$custom: #7d3f96;
$custom-light: #a577b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3f96",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 282.759,
    "s": 40.845,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48359,
    "c": 0.14643,
    "h": 315.2
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#7D3F96
secondary
#8CB67B
accent
#D1577A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7D3F96

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

Preview Lab → · Contrast checker → · Palette generator →

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