#7C25BA#7C25BA

#7C25BA is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.216 H 305.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7C25BA
RGBrgb(124, 37, 186)
HSLhsl(275, 67%, 44%)
HSVhsv(275, 80%, 73%)
CMYKcmyk(33.3%, 80.1%, 0%, 27.1%)
CIE-LABlab(36.28, 60.91, -61.31)
CIE-LCHlch(36.28, 86.42, 314.82°)
OKLaboklab(47.85% 0.1264 -0.1746)
OKLCHoklch(47.85% 0.216 305.9)
XYZxyz(17.8347, 9.1535, 47.2721)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C25BA #63BA25
analogous
#3225BA #7C25BA #BA25AD
triadic
#7C25BA #BA7C25 #25BA7C
tetradic
#7C25BA #BA3225 #63BA25 #25ADBA
square
#7C25BA #BA3225 #63BA25 #25ADBA
split-complementary
#7C25BA #ADBA25 #25BA32
monochromatic
#381154 #5A1B87 #7C25BA #9B43DA #B676E4

Accessibility & contrast

On white

7.42
#7C25BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7C25BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C25BA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C25BA#FFFFFF#000000##FFFFFF
##7C25BA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#714D70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c25ba;
/* rgb */ color: rgb(124, 37, 186);
/* oklch */ color: oklch(47.8% 0.216 305.9);
Tailwind
colors: {
  custom: {
    50: '#a86bd0',
    500: '#7c25ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c25ba;
$custom-light: #a86bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c25ba",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 275.034,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47846,
    "c": 0.21554,
    "h": 305.9
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#7C25BA
secondary
#96CB70
accent
#EA3E85
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7C25BA

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

Preview Lab → · Contrast checker → · Palette generator →

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