#7D3094#7D3094

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

Color values

HEX#7D3094
RGBrgb(125, 48, 148)
HSLhsl(286, 51%, 38%)
HSVhsv(286, 68%, 58%)
CMYKcmyk(15.5%, 67.6%, 0%, 42%)
CIE-LABlab(35.23, 48.54, -40.19)
CIE-LCHlch(35.23, 63.02, 320.37°)
OKLaboklab(46.27% 0.1231 -0.1127)
OKLCHoklch(46.27% 0.167 317.5)
XYZxyz(14.8589, 8.6126, 28.8909)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3094 #479430
analogous
#4B3094 #7D3094 #943079
triadic
#7D3094 #947D30 #30947D
tetradic
#7D3094 #944B30 #479430 #307994
square
#7D3094 #944B30 #479430 #307994
split-complementary
#7D3094 #799430 #30944B
monochromatic
#2F1238 #562166 #7D3094 #A340C1 #BA6ED0

Accessibility & contrast

On white

7.71
#7D3094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7D3094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3094
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3094#FFFFFF#000000##FFFFFF
##7D30941.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064E97
Deuteranopia (green-blind)
#335592
Tritanopia (blue-blind)
#7C425E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d3094;
/* rgb */ color: rgb(125, 48, 148);
/* oklch */ color: oklch(46.3% 0.167 317.5);
Tailwind
colors: {
  custom: {
    50: '#a66eb4',
    500: '#7d3094',
    950: '#000000',
  },
}
SCSS
$custom: #7d3094;
$custom-light: #a66eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3094",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 286.2,
    "s": 51.02,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4627,
    "c": 0.16689,
    "h": 317.5
  },
  "luminance": 0.08612
}

Semantic roles & 50–950 ramp

primary
#7D3094
secondary
#7AB868
accent
#DA4D6E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3094

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

Preview Lab → · Contrast checker → · Palette generator →

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