#7B25A8#7B25A8

#7B25A8 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.198 H 310.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7B25A8
RGBrgb(123, 37, 168)
HSLhsl(279, 64%, 40%)
HSVhsv(279, 78%, 66%)
CMYKcmyk(26.8%, 78%, 0%, 34.1%)
CIE-LABlab(34.72, 56.84, -53.13)
CIE-LCHlch(34.72, 77.80, 316.93°)
OKLaboklab(46.29% 0.1293 -0.1506)
OKLCHoklch(46.29% 0.198 310.6)
XYZxyz(15.8965, 8.3616, 37.8147)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25A8 #52A825
analogous
#3925A8 #7B25A8 #A82594
triadic
#7B25A8 #A87B25 #25A87B
tetradic
#7B25A8 #A83925 #52A825 #2594A8
square
#7B25A8 #A83925 #52A825 #2594A8
split-complementary
#7B25A8 #94A825 #25A839
monochromatic
#320F44 #561A76 #7B25A8 #9D37D3 #B669DE

Accessibility & contrast

On white

7.86
#7B25A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7B25A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25A8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25A8#FFFFFF#000000##FFFFFF
##7B25A81.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#754566
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b25a8;
/* rgb */ color: rgb(123, 37, 168);
/* oklch */ color: oklch(46.3% 0.198 310.6);
Tailwind
colors: {
  custom: {
    50: '#a66ac3',
    500: '#7b25a8',
    950: '#000000',
  },
}
SCSS
$custom: #7b25a8;
$custom-light: #a66ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25a8",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 279.389,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46289,
    "c": 0.19847,
    "h": 310.6
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#7B25A8
secondary
#85C465
accent
#E7417A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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