#7C258C#7C258C

#7C258C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.173 H 320.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7C258C
RGBrgb(124, 37, 140)
HSLhsl(291, 58%, 35%)
HSVhsv(291, 74%, 55%)
CMYKcmyk(11.4%, 73.6%, 0%, 45.1%)
CIE-LABlab(32.92, 51.32, -38.98)
CIE-LCHlch(32.92, 64.45, 322.78°)
OKLaboklab(44.43% 0.1344 -0.1091)
OKLCHoklch(44.43% 0.173 320.9)
XYZxyz(13.7068, 7.5024, 25.5320)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C258C #358C25
analogous
#49258C #7C258C #8C2568
triadic
#7C258C #8C7C25 #258C7C
tetradic
#7C258C #8C4925 #358C25 #25688C
square
#7C258C #8C4925 #358C25 #25688C
split-complementary
#7C258C #688C25 #258C49
monochromatic
#260B2B #51185C #7C258C #A732BC #C058D3

Accessibility & contrast

On white

8.40
#7C258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7C258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C258C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C258C#FFFFFF#000000##FFFFFF
##7C258C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#31518A
Tritanopia (blue-blind)
#7D3856
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c258c;
/* rgb */ color: rgb(124, 37, 140);
/* oklch */ color: oklch(44.4% 0.173 320.9);
Tailwind
colors: {
  custom: {
    50: '#a569ae',
    500: '#7c258c',
    950: '#000000',
  },
}
SCSS
$custom: #7c258c;
$custom-light: #a569ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c258c",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 290.68,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.17313,
    "h": 320.9
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#7C258C
secondary
#65B855
accent
#E1465E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C258C

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

Preview Lab → · Contrast checker → · Palette generator →

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