#7C259F#7C259F

#7C259F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.190 H 314.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7C259F
RGBrgb(124, 37, 159)
HSLhsl(283, 62%, 38%)
HSVhsv(283, 77%, 62%)
CMYKcmyk(22%, 76.7%, 0%, 37.6%)
CIE-LABlab(34.21, 55.14, -48.52)
CIE-LCHlch(34.21, 73.44, 318.65°)
OKLaboklab(45.75% 0.1323 -0.137)
OKLCHoklch(45.75% 0.19 314)
XYZxyz(15.2307, 8.1119, 33.5576)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C259F #489F25
analogous
#3F259F #7C259F #9F2585
triadic
#7C259F #9F7C25 #259F7C
tetradic
#7C259F #9F3F25 #489F25 #25859F
square
#7C259F #9F3F25 #489F25 #25859F
split-complementary
#7C259F #859F25 #259F3F
monochromatic
#2F0E3C #55196D #7C259F #A232CF #B964DB

Accessibility & contrast

On white

8.01
#7C259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7C259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C259F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C259F#FFFFFF#000000##FFFFFF
##7C259F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#1B529C
Tritanopia (blue-blind)
#794161
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c259f;
/* rgb */ color: rgb(124, 37, 159);
/* oklch */ color: oklch(45.8% 0.190 314.0);
Tailwind
colors: {
  custom: {
    50: '#a669bc',
    500: '#7c259f',
    950: '#000000',
  },
}
SCSS
$custom: #7c259f;
$custom-light: #a669bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c259f",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 282.787,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.19045,
    "h": 314
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#7C259F
secondary
#7BC05F
accent
#E54271
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C259F

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

Preview Lab → · Contrast checker → · Palette generator →

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