#7D3096#7D3096

#7D3096 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.169 H 316.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7D3096
RGBrgb(125, 48, 150)
HSLhsl(285, 52%, 39%)
HSVhsv(285, 68%, 59%)
CMYKcmyk(16.7%, 68%, 0%, 41.2%)
CIE-LABlab(35.35, 48.96, -41.21)
CIE-LCHlch(35.35, 64.00, 319.91°)
OKLaboklab(46.4% 0.123 -0.1157)
OKLCHoklch(46.4% 0.169 316.8)
XYZxyz(15.0186, 8.6765, 29.7319)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3096 #499630
analogous
#4A3096 #7D3096 #96307C
triadic
#7D3096 #967D30 #30967D
tetradic
#7D3096 #964A30 #499630 #307C96
square
#7D3096 #964A30 #499630 #307C96
split-complementary
#7D3096 #7C9630 #30964A
monochromatic
#301239 #562168 #7D3096 #A341C2 #B96FD1

Accessibility & contrast

On white

7.68
#7D3096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7D3096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3096
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3096#FFFFFF#000000##FFFFFF
##7D30961.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#315594
Tritanopia (blue-blind)
#7C435F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d3096;
/* rgb */ color: rgb(125, 48, 150);
/* oklch */ color: oklch(46.4% 0.169 316.8);
Tailwind
colors: {
  custom: {
    50: '#a66eb5',
    500: '#7d3096',
    950: '#000000',
  },
}
SCSS
$custom: #7d3096;
$custom-light: #a66eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3096",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 285.294,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46401,
    "c": 0.16885,
    "h": 316.8
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#7D3096
secondary
#7DB969
accent
#DB4D70
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3096

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

Preview Lab → · Contrast checker → · Palette generator →

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