#7D257F#7D257F

#7D257F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.162 H 327.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7D257F
RGBrgb(125, 37, 127)
HSLhsl(299, 55%, 32%)
HSVhsv(299, 71%, 50%)
CMYKcmyk(1.6%, 70.9%, 0%, 50.2%)
CIE-LABlab(32.29, 49.12, -31.89)
CIE-LCHlch(32.29, 58.56, 327.00°)
OKLaboklab(43.75% 0.136 -0.0884)
OKLCHoklch(43.75% 0.162 327)
XYZxyz(12.9496, 7.2163, 20.7854)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D257F #277F25
analogous
#50257F #7D257F #7F2554
triadic
#7D257F #7F7D25 #257F7D
tetradic
#7D257F #7F5025 #277F25 #25547F
square
#7D257F #7F5025 #277F25 #25547F
split-complementary
#7D257F #547F25 #257F50
monochromatic
#200920 #4E1750 #7D257F #AC33AE #CA52CD

Accessibility & contrast

On white

8.60
#7D257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7D257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D257F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D257F#FFFFFF#000000##FFFFFF
##7D257F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144582
Deuteranopia (green-blind)
#3A507D
Tritanopia (blue-blind)
#81324F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d257f;
/* rgb */ color: rgb(125, 37, 127);
/* oklch */ color: oklch(43.8% 0.162 327.0);
Tailwind
colors: {
  custom: {
    50: '#a668a4',
    500: '#7d257f',
    950: '#000000',
  },
}
SCSS
$custom: #7d257f;
$custom-light: #a668a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d257f",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 298.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43751,
    "c": 0.16219,
    "h": 327
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#7D257F
secondary
#51B14F
accent
#DE4A4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D257F

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

Preview Lab → · Contrast checker → · Palette generator →

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