#7B25AE#7B25AE

#7B25AE is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.204 H 308.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7B25AE
RGBrgb(123, 37, 174)
HSLhsl(278, 65%, 41%)
HSVhsv(278, 79%, 68%)
CMYKcmyk(29.3%, 78.7%, 0%, 31.8%)
CIE-LABlab(35.18, 58.13, -55.97)
CIE-LCHlch(35.18, 80.70, 316.08°)
OKLaboklab(46.76% 0.128 -0.159)
OKLCHoklch(46.76% 0.204 308.8)
XYZxyz(16.4684, 8.5904, 40.8268)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25AE #58AE25
analogous
#3625AE #7B25AE #AE259D
triadic
#7B25AE #AE7B25 #25AE7B
tetradic
#7B25AE #AE3625 #58AE25 #259DAE
square
#7B25AE #AE3625 #58AE25 #259DAE
split-complementary
#7B25AE #9DAE25 #25AE36
monochromatic
#341049 #571A7C #7B25AE #9C3BD5 #B56DE0

Accessibility & contrast

On white

7.73
#7B25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7B25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25AE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25AE#FFFFFF#000000##FFFFFF
##7B25AE1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#734869
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b25ae;
/* rgb */ color: rgb(123, 37, 174);
/* oklch */ color: oklch(46.8% 0.204 308.8);
Tailwind
colors: {
  custom: {
    50: '#a66ac7',
    500: '#7b25ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b25ae;
$custom-light: #a66ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25ae",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 277.664,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46755,
    "c": 0.20407,
    "h": 308.8
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#7B25AE
secondary
#8BC668
accent
#E8407E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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