#7D258F#7D258F

#7D258F is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.176 H 320.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7D258F
RGBrgb(125, 37, 143)
HSLhsl(290, 59%, 35%)
HSVhsv(290, 74%, 56%)
CMYKcmyk(12.6%, 74.1%, 0%, 43.9%)
CIE-LABlab(33.28, 52.13, -40.25)
CIE-LCHlch(33.28, 65.86, 322.33°)
OKLaboklab(44.77% 0.1355 -0.1128)
OKLCHoklch(44.77% 0.176 320.2)
XYZxyz(14.0763, 7.6670, 26.7197)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D258F #378F25
analogous
#48258F #7D258F #8F256C
triadic
#7D258F #8F7D25 #258F7D
tetradic
#7D258F #8F4825 #378F25 #256C8F
square
#7D258F #8F4825 #378F25 #256C8F
split-complementary
#7D258F #6C8F25 #258F48
monochromatic
#280C2E #52185E #7D258F #A732C0 #C05AD4

Accessibility & contrast

On white

8.29
#7D258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D258F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D258F#FFFFFF#000000##FFFFFF
##7D258F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#2F518D
Tritanopia (blue-blind)
#7E3A58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d258f;
/* rgb */ color: rgb(125, 37, 143);
/* oklch */ color: oklch(44.8% 0.176 320.2);
Tailwind
colors: {
  custom: {
    50: '#a669b0',
    500: '#7d258f',
    950: '#000000',
  },
}
SCSS
$custom: #7d258f;
$custom-light: #a669b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d258f",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 289.811,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44773,
    "c": 0.17626,
    "h": 320.2
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#7D258F
secondary
#67B957
accent
#E24660
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D258F

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

Preview Lab → · Contrast checker → · Palette generator →

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