#7D3395#7D3395

#7D3395 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.7% C 0.164 H 316.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7D3395
RGBrgb(125, 51, 149)
HSLhsl(285, 49%, 39%)
HSVhsv(285, 66%, 58%)
CMYKcmyk(16.1%, 65.8%, 0%, 41.6%)
CIE-LABlab(35.79, 47.37, -39.91)
CIE-LCHlch(35.79, 61.94, 319.89°)
OKLaboklab(46.69% 0.1195 -0.1119)
OKLCHoklch(46.69% 0.164 316.9)
XYZxyz(15.0653, 8.8981, 29.3519)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3395 #4B9533
analogous
#4C3395 #7D3395 #95337C
triadic
#7D3395 #957D33 #33957D
tetradic
#7D3395 #954C33 #4B9533 #337C95
square
#7D3395 #954C33 #4B9533 #337C95
split-complementary
#7D3395 #7C9533 #33954C
monochromatic
#31143A #572367 #7D3395 #A246C0 #B973CF

Accessibility & contrast

On white

7.56
#7D3395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7D3395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3395
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3395#FFFFFF#000000##FFFFFF
##7D33951.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5098
Deuteranopia (green-blind)
#355693
Tritanopia (blue-blind)
#7C455F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d3395;
/* rgb */ color: rgb(125, 51, 149);
/* oklch */ color: oklch(46.7% 0.164 316.9);
Tailwind
colors: {
  custom: {
    50: '#a670b5',
    500: '#7d3395',
    950: '#000000',
  },
}
SCSS
$custom: #7d3395;
$custom-light: #a670b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3395",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 285.306,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46693,
    "c": 0.16367,
    "h": 316.9
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#7D3395
secondary
#7FB76C
accent
#D94F71
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3395

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

Preview Lab → · Contrast checker → · Palette generator →

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