#7B25A5#7B25A5

#7B25A5 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.196 H 311.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7B25A5
RGBrgb(123, 37, 165)
HSLhsl(280, 63%, 40%)
HSVhsv(280, 78%, 65%)
CMYKcmyk(25.5%, 77.6%, 0%, 35.3%)
CIE-LABlab(34.50, 56.20, -51.69)
CIE-LCHlch(34.50, 76.35, 317.40°)
OKLaboklab(46.06% 0.1299 -0.1464)
OKLCHoklch(46.06% 0.196 311.6)
XYZxyz(15.6202, 8.2511, 36.3598)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25A5 #4FA525
analogous
#3B25A5 #7B25A5 #A5258F
triadic
#7B25A5 #A57B25 #25A57B
tetradic
#7B25A5 #A53B25 #4FA525 #258FA5
square
#7B25A5 #A53B25 #4FA525 #258FA5
split-complementary
#7B25A5 #8FA525 #25A53B
monochromatic
#300F41 #561A73 #7B25A5 #9E35D2 #B667DD

Accessibility & contrast

On white

7.92
#7B25A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7B25A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25A5
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25A5#FFFFFF#000000##FFFFFF
##7B25A51.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0A53A2
Tritanopia (blue-blind)
#764464
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b25a5;
/* rgb */ color: rgb(123, 37, 165);
/* oklch */ color: oklch(46.1% 0.196 311.6);
Tailwind
colors: {
  custom: {
    50: '#a66ac0',
    500: '#7b25a5',
    950: '#000000',
  },
}
SCSS
$custom: #7b25a5;
$custom-light: #a66ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25a5",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 280.313,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46061,
    "c": 0.19567,
    "h": 311.6
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#7B25A5
secondary
#82C363
accent
#E64178
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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