#7D387E#7D387E

#7D387E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.0% C 0.133 H 326.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7D387E
RGBrgb(125, 56, 126)
HSLhsl(299, 38%, 36%)
HSVhsv(299, 56%, 49%)
CMYKcmyk(0.8%, 55.6%, 0%, 50.6%)
CIE-LABlab(35.39, 40.24, -26.39)
CIE-LCHlch(35.39, 48.12, 326.75°)
OKLaboklab(45.99% 0.1115 -0.0726)
OKLCHoklch(45.99% 0.133 326.9)
XYZxyz(13.6373, 8.6955, 20.6947)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D387E #397E38
analogous
#5A387E #7D387E #7E385C
triadic
#7D387E #7E7D38 #387E7D
tetradic
#7D387E #7E5A38 #397E38 #385C7E
square
#7D387E #7E5A38 #397E38 #385C7E
split-complementary
#7D387E #5C7E38 #387E5A
monochromatic
#291229 #532554 #7D387E #A74BA8 #BF71C0

Accessibility & contrast

On white

7.67
#7D387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7D387E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D387E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D387E#FFFFFF#000000##FFFFFF
##7D387E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E80
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#804055
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d387e;
/* rgb */ color: rgb(125, 56, 126);
/* oklch */ color: oklch(46.0% 0.133 326.9);
Tailwind
colors: {
  custom: {
    50: '#a572a3',
    500: '#7d387e',
    950: '#000000',
  },
}
SCSS
$custom: #7d387e;
$custom-light: #a572a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d387e",
  "rgb": {
    "r": 125,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 299.143,
    "s": 38.462,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45985,
    "c": 0.13308,
    "h": 326.9
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#7D387E
secondary
#6AA969
accent
#CE595B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #7D387E

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

Preview Lab → · Contrast checker → · Palette generator →

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