#7C25B6#7C25B6

#7C25B6 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.212 H 307.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7C25B6
RGBrgb(124, 37, 182)
HSLhsl(276, 66%, 43%)
HSVhsv(276, 80%, 71%)
CMYKcmyk(31.9%, 79.7%, 0%, 28.6%)
CIE-LABlab(35.96, 60.04, -59.46)
CIE-LCHlch(35.96, 84.50, 315.27°)
OKLaboklab(47.52% 0.1274 -0.1692)
OKLCHoklch(47.52% 0.212 307)
XYZxyz(17.4154, 8.9858, 45.0639)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C25B6 #5FB625
analogous
#3325B6 #7C25B6 #B625A7
triadic
#7C25B6 #B67C25 #25B67C
tetradic
#7C25B6 #B63325 #5FB625 #25A7B6
square
#7C25B6 #B63325 #5FB625 #25A7B6
split-complementary
#7C25B6 #A7B625 #25B633
monochromatic
#371050 #591B83 #7C25B6 #9B40D8 #B673E3

Accessibility & contrast

On white

7.51
#7C25B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7C25B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C25B6
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C25B6#FFFFFF#000000##FFFFFF
##7C25B61.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#724B6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7c25b6;
/* rgb */ color: rgb(124, 37, 182);
/* oklch */ color: oklch(47.5% 0.212 307.0);
Tailwind
colors: {
  custom: {
    50: '#a86bcd',
    500: '#7c25b6',
    950: '#000000',
  },
}
SCSS
$custom: #7c25b6;
$custom-light: #a86bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c25b6",
  "rgb": {
    "r": 124,
    "g": 37,
    "b": 182
  },
  "hsl": {
    "h": 276,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47522,
    "c": 0.21181,
    "h": 307
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#7C25B6
secondary
#92CA6D
accent
#E93F83
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7C25B6

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

Preview Lab → · Contrast checker → · Palette generator →

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