#7D307C#7D307C

#7D307C is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.8% C 0.144 H 328.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7D307C
RGBrgb(125, 48, 124)
HSLhsl(301, 45%, 34%)
HSVhsv(301, 62%, 49%)
CMYKcmyk(0%, 61.6%, 0.8%, 51%)
CIE-LABlab(33.84, 43.80, -27.58)
CIE-LCHlch(33.84, 51.76, 327.81°)
OKLaboklab(44.81% 0.1224 -0.076)
OKLCHoklch(44.81% 0.144 328.2)
XYZxyz(13.1523, 7.9300, 19.9028)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D307C #307D31
analogous
#58307D #7D307C #7D3056
triadic
#7D307C #7C7D30 #307C7D
tetradic
#7D307C #7D5830 #307D31 #30567D
square
#7D307C #7D5830 #307D31 #30567D
split-complementary
#7D307C #567D30 #307D58
monochromatic
#250E24 #511F50 #7D307C #A941A8 #C364C2

Accessibility & contrast

On white

8.12
#7D307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7D307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D307C
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D307C#FFFFFF#000000##FFFFFF
##7D307C1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#42537A
Tritanopia (blue-blind)
#813951
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d307c;
/* rgb */ color: rgb(125, 48, 124);
/* oklch */ color: oklch(44.8% 0.144 328.2);
Tailwind
colors: {
  custom: {
    50: '#a56ea2',
    500: '#7d307c',
    950: '#000000',
  },
}
SCSS
$custom: #7d307c;
$custom-light: #a56ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d307c",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 300.779,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44813,
    "c": 0.14406,
    "h": 328.2
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#7D307C
secondary
#5EAB5F
accent
#D45554
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D307C

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

Preview Lab → · Contrast checker → · Palette generator →

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