#7C25B4#7C25B4

#7C25B4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.210 H 307.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7C25B4
RGBrgb(124, 37, 180)
HSLhsl(277, 66%, 43%)
HSVhsv(277, 79%, 71%)
CMYKcmyk(31.1%, 79.4%, 0%, 29.4%)
CIE-LABlab(35.80, 59.60, -58.54)
CIE-LCHlch(35.80, 83.54, 315.52°)
OKLaboklab(47.36% 0.1279 -0.1665)
OKLCHoklch(47.36% 0.21 307.5)
XYZxyz(17.2102, 8.9037, 43.9831)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C25B4 #5DB425
analogous
#3425B4 #7C25B4 #B425A5
triadic
#7C25B4 #B47C25 #25B47C
tetradic
#7C25B4 #B43425 #5DB425 #25A5B4
square
#7C25B4 #B43425 #5DB425 #25A5B4
split-complementary
#7C25B4 #A5B425 #25B434
monochromatic
#36104E #591B81 #7C25B4 #9C3FD7 #B671E2

Accessibility & contrast

On white

7.55
#7C25B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7C25B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C25B4
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C25B4#FFFFFF#000000##FFFFFF
##7C25B41.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#734A6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c25b4;
/* rgb */ color: rgb(124, 37, 180);
/* oklch */ color: oklch(47.4% 0.210 307.5);
Tailwind
colors: {
  custom: {
    50: '#a76acb',
    500: '#7c25b4',
    950: '#000000',
  },
}
SCSS
$custom: #7c25b4;
$custom-light: #a76acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c25b4",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 180
  },
  "hsl": {
    "h": 276.503,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.20994,
    "h": 307.5
  },
  "luminance": 0.08904
}

Semantic roles & 50–950 ramp

primary
#7C25B4
secondary
#90C96C
accent
#E93F81
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C25B4

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

Preview Lab → · Contrast checker → · Palette generator →

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