#7D307D#7D307D

#7D307D is a dark, vivid purple. Relative luminance 0.080; OKLCH L 44.9% C 0.145 H 327.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7D307D
RGBrgb(125, 48, 125)
HSLhsl(300, 45%, 34%)
HSVhsv(300, 62%, 49%)
CMYKcmyk(0%, 61.6%, 0%, 51%)
CIE-LABlab(33.89, 43.99, -28.12)
CIE-LCHlch(33.89, 52.21, 327.41°)
OKLaboklab(44.87% 0.1225 -0.0776)
OKLCHoklch(44.87% 0.145 327.7)
XYZxyz(13.2159, 7.9554, 20.2375)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D307D #307D30
analogous
#57307D #7D307D #7D3057
triadic
#7D307D #7D7D30 #307D7D
tetradic
#7D307D #7D5730 #307D30 #30577D
square
#7D307D #7D5730 #307D30 #30577D
split-complementary
#7D307D #577D30 #307D57
monochromatic
#250E25 #511F51 #7D307D #A941A9 #C364C3

Accessibility & contrast

On white

8.10
#7D307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D307D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D307D#FFFFFF#000000##FFFFFF
##7D307D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497F
Deuteranopia (green-blind)
#42537B
Tritanopia (blue-blind)
#813A52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d307d;
/* rgb */ color: rgb(125, 48, 125);
/* oklch */ color: oklch(44.9% 0.145 327.7);
Tailwind
colors: {
  custom: {
    50: '#a56ea3',
    500: '#7d307d',
    950: '#000000',
  },
}
SCSS
$custom: #7d307d;
$custom-light: #a56ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d307d",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 300,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44869,
    "c": 0.14498,
    "h": 327.7
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#7D307D
secondary
#5EAB5E
accent
#D45454
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D307D

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

Preview Lab → · Contrast checker → · Palette generator →

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