#7D3088#7D3088

#7D3088 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.5% C 0.155 H 322.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7D3088
RGBrgb(125, 48, 136)
HSLhsl(293, 48%, 36%)
HSVhsv(293, 65%, 53%)
CMYKcmyk(8.1%, 64.7%, 0%, 46.7%)
CIE-LABlab(34.50, 46.11, -33.98)
CIE-LCHlch(34.50, 57.28, 323.61°)
OKLaboklab(45.51% 0.1232 -0.0945)
OKLCHoklch(45.51% 0.155 322.5)
XYZxyz(13.9579, 8.2522, 24.1454)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3088 #3B8830
analogous
#513088 #7D3088 #883067
triadic
#7D3088 #887D30 #30887D
tetradic
#7D3088 #885130 #3B8830 #306788
square
#7D3088 #885130 #3B8830 #306788
split-complementary
#7D3088 #678830 #308851
monochromatic
#2A102E #53205B #7D3088 #A740B5 #BE69CA

Accessibility & contrast

On white

7.92
#7D3088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D3088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D3088
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3088#FFFFFF#000000##FFFFFF
##7D30881.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8B
Deuteranopia (green-blind)
#3C5486
Tritanopia (blue-blind)
#7F3E57
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d3088;
/* rgb */ color: rgb(125, 48, 136);
/* oklch */ color: oklch(45.5% 0.155 322.5);
Tailwind
colors: {
  custom: {
    50: '#a56eab',
    500: '#7d3088',
    950: '#000000',
  },
}
SCSS
$custom: #7d3088;
$custom-light: #a56eab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3088",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 136
  },
  "hsl": {
    "h": 292.5,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45513,
    "c": 0.15527,
    "h": 322.5
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#7D3088
secondary
#6CB163
accent
#D75061
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D3088

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

Preview Lab → · Contrast checker → · Palette generator →

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