#7C258D#7C258D

#7C258D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.174 H 320.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7C258D
RGBrgb(124, 37, 141)
HSLhsl(290, 58%, 35%)
HSVhsv(290, 74%, 55%)
CMYKcmyk(12.1%, 73.8%, 0%, 44.7%)
CIE-LABlab(32.99, 51.52, -39.49)
CIE-LCHlch(32.99, 64.91, 322.53°)
OKLaboklab(44.49% 0.1344 -0.1106)
OKLCHoklch(44.49% 0.174 320.6)
XYZxyz(13.7809, 7.5320, 25.9221)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C258D #368D25
analogous
#48258D #7C258D #8D256A
triadic
#7C258D #8D7C25 #258D7C
tetradic
#7C258D #8D4825 #368D25 #256A8D
square
#7C258D #8D4825 #368D25 #256A8D
split-complementary
#7C258D #6A8D25 #258D48
monochromatic
#270C2C #51185D #7C258D #A732BD #BF59D3

Accessibility & contrast

On white

8.38
#7C258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7C258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C258D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C258D#FFFFFF#000000##FFFFFF
##7C258D1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#7D3957
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c258d;
/* rgb */ color: rgb(124, 37, 141);
/* oklch */ color: oklch(44.5% 0.174 320.6);
Tailwind
colors: {
  custom: {
    50: '#a569af',
    500: '#7c258d',
    950: '#000000',
  },
}
SCSS
$custom: #7c258d;
$custom-light: #a569af;
$custom-dark: #000000;
JSON
{
  "hex": "#7c258d",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 290.192,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44492,
    "c": 0.17404,
    "h": 320.6
  },
  "luminance": 0.07531
}

Semantic roles & 50–950 ramp

primary
#7C258D
secondary
#66B856
accent
#E24660
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C258D

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

Preview Lab → · Contrast checker → · Palette generator →

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