#7D3192#7D3192

#7D3192 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.164 H 318.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7D3192
RGBrgb(125, 49, 146)
HSLhsl(287, 50%, 38%)
HSVhsv(287, 66%, 57%)
CMYKcmyk(14.4%, 66.4%, 0%, 42.7%)
CIE-LABlab(35.27, 47.67, -38.91)
CIE-LCHlch(35.27, 61.54, 320.78°)
OKLaboklab(46.26% 0.122 -0.1089)
OKLCHoklch(46.26% 0.164 318.2)
XYZxyz(14.7434, 8.6326, 28.0782)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3192 #469231
analogous
#4C3192 #7D3192 #923176
triadic
#7D3192 #927D31 #31927D
tetradic
#7D3192 #924C31 #469231 #317692
square
#7D3192 #924C31 #469231 #317692
split-complementary
#7D3192 #769231 #31924C
monochromatic
#2F1236 #562264 #7D3192 #A441BF #BA6FCF

Accessibility & contrast

On white

7.70
#7D3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7D3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3192
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3192#FFFFFF#000000##FFFFFF
##7D31921.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4E95
Deuteranopia (green-blind)
#355590
Tritanopia (blue-blind)
#7D425D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d3192;
/* rgb */ color: rgb(125, 49, 146);
/* oklch */ color: oklch(46.3% 0.164 318.2);
Tailwind
colors: {
  custom: {
    50: '#a66fb2',
    500: '#7d3192',
    950: '#000000',
  },
}
SCSS
$custom: #7d3192;
$custom-light: #a66fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3192",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 287.01,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.16353,
    "h": 318.2
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#7D3192
secondary
#79B669
accent
#D94F6D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3192

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

Preview Lab → · Contrast checker → · Palette generator →

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