#7B25AA#7B25AA

#7B25AA is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.200 H 310.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7B25AA
RGBrgb(123, 37, 170)
HSLhsl(279, 64%, 41%)
HSVhsv(279, 78%, 67%)
CMYKcmyk(27.6%, 78.2%, 0%, 33.3%)
CIE-LABlab(34.88, 57.27, -54.08)
CIE-LCHlch(34.88, 78.77, 316.64°)
OKLaboklab(46.44% 0.1288 -0.1534)
OKLCHoklch(46.44% 0.2 310)
XYZxyz(16.0842, 8.4367, 38.8036)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25AA #54AA25
analogous
#3825AA #7B25AA #AA2596
triadic
#7B25AA #AA7B25 #25AA7B
tetradic
#7B25AA #AA3825 #54AA25 #2596AA
square
#7B25AA #AA3825 #54AA25 #2596AA
split-complementary
#7B25AA #96AA25 #25AA38
monochromatic
#320F45 #571A78 #7B25AA #9D38D4 #B66BDF

Accessibility & contrast

On white

7.81
#7B25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7B25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25AA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25AA#FFFFFF#000000##FFFFFF
##7B25AA1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#744667
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b25aa;
/* rgb */ color: rgb(123, 37, 170);
/* oklch */ color: oklch(46.4% 0.200 310.0);
Tailwind
colors: {
  custom: {
    50: '#a66ac4',
    500: '#7b25aa',
    950: '#000000',
  },
}
SCSS
$custom: #7b25aa;
$custom-light: #a66ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25aa",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 278.797,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.20034,
    "h": 310
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#7B25AA
secondary
#87C566
accent
#E7417B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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