#7D3183#7D3183

#7D3183 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.3% C 0.149 H 324.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7D3183
RGBrgb(125, 49, 131)
HSLhsl(296, 46%, 35%)
HSVhsv(296, 63%, 51%)
CMYKcmyk(4.6%, 62.6%, 0%, 48.6%)
CIE-LABlab(34.39, 44.66, -31.07)
CIE-LCHlch(34.39, 54.41, 325.18°)
OKLaboklab(45.34% 0.1216 -0.0861)
OKLCHoklch(45.34% 0.149 324.7)
XYZxyz(13.6522, 8.1961, 22.3312)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3183 #378331
analogous
#543183 #7D3183 #833160
triadic
#7D3183 #837D31 #31837D
tetradic
#7D3183 #835431 #378331 #316083
square
#7D3183 #835431 #378331 #316083
split-complementary
#7D3183 #608331 #318354
monochromatic
#28102A #532056 #7D3183 #A842B0 #C068C6

Accessibility & contrast

On white

7.96
#7D3183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D3183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3183
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3183#FFFFFF#000000##FFFFFF
##7D31831.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B86
Deuteranopia (green-blind)
#3F5481
Tritanopia (blue-blind)
#803D55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d3183;
/* rgb */ color: rgb(125, 49, 131);
/* oklch */ color: oklch(45.3% 0.149 324.7);
Tailwind
colors: {
  custom: {
    50: '#a56ea7',
    500: '#7d3183',
    950: '#000000',
  },
}
SCSS
$custom: #7d3183;
$custom-light: #a56ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3183",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 295.61,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.14903,
    "h": 324.7
  },
  "luminance": 0.08195
}

Semantic roles & 50–950 ramp

primary
#7D3183
secondary
#67AE62
accent
#D5535C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D3183

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

Preview Lab → · Contrast checker → · Palette generator →

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