#7B25A9#7B25A9

#7B25A9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.4% C 0.199 H 310.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7B25A9
RGBrgb(123, 37, 169)
HSLhsl(279, 64%, 40%)
HSVhsv(279, 78%, 66%)
CMYKcmyk(27.2%, 78.1%, 0%, 33.7%)
CIE-LABlab(34.80, 57.05, -53.60)
CIE-LCHlch(34.80, 78.28, 316.79°)
OKLaboklab(46.37% 0.1291 -0.152)
OKLCHoklch(46.37% 0.199 310.3)
XYZxyz(15.9900, 8.3990, 38.3073)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25A9 #53A925
analogous
#3925A9 #7B25A9 #A92595
triadic
#7B25A9 #A97B25 #25A97B
tetradic
#7B25A9 #A93925 #53A925 #2595A9
square
#7B25A9 #A93925 #53A925 #2595A9
split-complementary
#7B25A9 #95A925 #25A939
monochromatic
#320F45 #561A77 #7B25A9 #9D38D3 #B66ADE

Accessibility & contrast

On white

7.84
#7B25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7B25A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25A9
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25A9#FFFFFF#000000##FFFFFF
##7B25A91.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#754567
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b25a9;
/* rgb */ color: rgb(123, 37, 169);
/* oklch */ color: oklch(46.4% 0.199 310.3);
Tailwind
colors: {
  custom: {
    50: '#a66ac3',
    500: '#7b25a9',
    950: '#000000',
  },
}
SCSS
$custom: #7b25a9;
$custom-light: #a66ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25a9",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 279.091,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46366,
    "c": 0.1994,
    "h": 310.3
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#7B25A9
secondary
#86C465
accent
#E7417B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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