#7E25BA#7E25BA

#7E25BA is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.216 H 306.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7E25BA
RGBrgb(126, 37, 186)
HSLhsl(276, 67%, 44%)
HSVhsv(276, 80%, 73%)
CMYKcmyk(32.3%, 80.1%, 0%, 27.1%)
CIE-LABlab(36.56, 61.24, -60.83)
CIE-LCHlch(36.56, 86.32, 315.19°)
OKLaboklab(48.11% 0.1291 -0.1731)
OKLCHoklch(48.11% 0.216 306.7)
XYZxyz(18.1267, 9.3041, 47.2858)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E25BA #61BA25
analogous
#3325BA #7E25BA #BA25AB
triadic
#7E25BA #BA7E25 #25BA7E
tetradic
#7E25BA #BA3325 #61BA25 #25ABBA
square
#7E25BA #BA3325 #61BA25 #25ABBA
split-complementary
#7E25BA #ABBA25 #25BA33
monochromatic
#391154 #5B1B87 #7E25BA #9D43DA #B776E4

Accessibility & contrast

On white

7.34
#7E25BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7E25BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E25BA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E25BA#FFFFFF#000000##FFFFFF
##7E25BA1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e25ba;
/* rgb */ color: rgb(126, 37, 186);
/* oklch */ color: oklch(48.1% 0.216 306.7);
Tailwind
colors: {
  custom: {
    50: '#a96bd0',
    500: '#7e25ba',
    950: '#000000',
  },
}
SCSS
$custom: #7e25ba;
$custom-light: #a96bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e25ba",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 275.839,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48105,
    "c": 0.216,
    "h": 306.7
  },
  "luminance": 0.09304
}

Semantic roles & 50–950 ramp

primary
#7E25BA
secondary
#95CB70
accent
#EA3E83
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7E25BA

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

Preview Lab → · Contrast checker → · Palette generator →

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