#7B25A3#7B25A3

#7B25A3 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.194 H 312.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7B25A3
RGBrgb(123, 37, 163)
HSLhsl(281, 63%, 39%)
HSVhsv(281, 77%, 64%)
CMYKcmyk(24.5%, 77.3%, 0%, 36.1%)
CIE-LABlab(34.35, 55.78, -50.72)
CIE-LCHlch(34.35, 75.39, 317.72°)
OKLaboklab(45.91% 0.1302 -0.1435)
OKLCHoklch(45.91% 0.194 312.2)
XYZxyz(15.4396, 8.1789, 35.4086)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25A3 #4DA325
analogous
#3C25A3 #7B25A3 #A3258C
triadic
#7B25A3 #A37B25 #25A37B
tetradic
#7B25A3 #A33C25 #4DA325 #258CA3
square
#7B25A3 #A33C25 #4DA325 #258CA3
split-complementary
#7B25A3 #8CA325 #25A33C
monochromatic
#300E3F #551A71 #7B25A3 #9F34D1 #B766DC

Accessibility & contrast

On white

7.97
#7B25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7B25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25A3
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25A3#FFFFFF#000000##FFFFFF
##7B25A31.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#1052A0
Tritanopia (blue-blind)
#764363
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b25a3;
/* rgb */ color: rgb(123, 37, 163);
/* oklch */ color: oklch(45.9% 0.194 312.2);
Tailwind
colors: {
  custom: {
    50: '#a669bf',
    500: '#7b25a3',
    950: '#000000',
  },
}
SCSS
$custom: #7b25a3;
$custom-light: #a669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25a3",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 280.952,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4591,
    "c": 0.19381,
    "h": 312.2
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#7B25A3
secondary
#80C262
accent
#E64276
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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