#7D3099#7D3099

#7D3099 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.172 H 315.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7D3099
RGBrgb(125, 48, 153)
HSLhsl(284, 52%, 39%)
HSVhsv(284, 69%, 60%)
CMYKcmyk(18.3%, 68.6%, 0%, 40%)
CIE-LABlab(35.55, 49.59, -42.73)
CIE-LCHlch(35.55, 65.46, 319.25°)
OKLaboklab(46.6% 0.1229 -0.1201)
OKLCHoklch(46.6% 0.172 315.7)
XYZxyz(15.2633, 8.7743, 31.0204)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3099 #4C9930
analogous
#493099 #7D3099 #993081
triadic
#7D3099 #997D30 #30997D
tetradic
#7D3099 #994930 #4C9930 #308199
square
#7D3099 #994930 #4C9930 #308199
split-complementary
#7D3099 #819930 #309949
monochromatic
#31133C #57216A #7D3099 #A142C4 #B871D2

Accessibility & contrast

On white

7.62
#7D3099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7D3099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3099
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3099#FFFFFF#000000##FFFFFF
##7D30991.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#2F5697
Tritanopia (blue-blind)
#7B4460
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d3099;
/* rgb */ color: rgb(125, 48, 153);
/* oklch */ color: oklch(46.6% 0.172 315.7);
Tailwind
colors: {
  custom: {
    50: '#a66fb8',
    500: '#7d3099',
    950: '#000000',
  },
}
SCSS
$custom: #7d3099;
$custom-light: #a66fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3099",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 284,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46601,
    "c": 0.17181,
    "h": 315.7
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#7D3099
secondary
#80BA6B
accent
#DC4C72
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #7D3099

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

Preview Lab → · Contrast checker → · Palette generator →

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