#7C259D#7C259D

#7C259D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.189 H 314.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7C259D
RGBrgb(124, 37, 157)
HSLhsl(284, 62%, 38%)
HSVhsv(284, 76%, 62%)
CMYKcmyk(21%, 76.4%, 0%, 38.4%)
CIE-LABlab(34.07, 54.72, -47.54)
CIE-LCHlch(34.07, 72.49, 319.02°)
OKLaboklab(45.61% 0.1326 -0.1342)
OKLCHoklch(45.61% 0.189 314.7)
XYZxyz(15.0585, 8.0431, 32.6510)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C259D #469D25
analogous
#40259D #7C259D #9D2582
triadic
#7C259D #9D7C25 #259D7C
tetradic
#7C259D #9D4025 #469D25 #25829D
square
#7C259D #9D4025 #469D25 #25829D
split-complementary
#7C259D #829D25 #259D40
monochromatic
#2E0E3A #55196B #7C259D #A331CE #B962DA

Accessibility & contrast

On white

8.05
#7C259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7C259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C259D
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C259D#FFFFFF#000000##FFFFFF
##7C259D1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#1E529A
Tritanopia (blue-blind)
#794060
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c259d;
/* rgb */ color: rgb(124, 37, 157);
/* oklch */ color: oklch(45.6% 0.189 314.7);
Tailwind
colors: {
  custom: {
    50: '#a669bb',
    500: '#7c259d',
    950: '#000000',
  },
}
SCSS
$custom: #7c259d;
$custom-light: #a669bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c259d",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 283.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.1886,
    "h": 314.7
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#7C259D
secondary
#79BF5E
accent
#E5436F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C259D

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

Preview Lab → · Contrast checker → · Palette generator →

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