#7C258F#7C258F

#7C258F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.176 H 319.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7C258F
RGBrgb(124, 37, 143)
HSLhsl(289, 59%, 35%)
HSVhsv(289, 74%, 56%)
CMYKcmyk(13.3%, 74.1%, 0%, 43.9%)
CIE-LABlab(33.12, 51.91, -40.52)
CIE-LCHlch(33.12, 65.85, 322.03°)
OKLaboklab(44.63% 0.1342 -0.1136)
OKLCHoklch(44.63% 0.176 319.8)
XYZxyz(13.9310, 7.5921, 26.7129)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C258F #388F25
analogous
#47258F #7C258F #8F256D
triadic
#7C258F #8F7C25 #258F7C
tetradic
#7C258F #8F4725 #388F25 #256D8F
square
#7C258F #8F4725 #388F25 #256D8F
split-complementary
#7C258F #6D8F25 #258F47
monochromatic
#280C2E #52185E #7C258F #A632C0 #BE5AD4

Accessibility & contrast

On white

8.34
#7C258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7C258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C258F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C258F#FFFFFF#000000##FFFFFF
##7C258F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c258f;
/* rgb */ color: rgb(124, 37, 143);
/* oklch */ color: oklch(44.6% 0.176 319.8);
Tailwind
colors: {
  custom: {
    50: '#a569b0',
    500: '#7c258f',
    950: '#000000',
  },
}
SCSS
$custom: #7c258f;
$custom-light: #a569b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c258f",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 289.245,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44626,
    "c": 0.17583,
    "h": 319.8
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#7C258F
secondary
#68B957
accent
#E24662
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C258F

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

Preview Lab → · Contrast checker → · Palette generator →

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