#7B25AD#7B25AD

#7B25AD is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.203 H 309.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7B25AD
RGBrgb(123, 37, 173)
HSLhsl(278, 65%, 41%)
HSVhsv(278, 79%, 68%)
CMYKcmyk(28.9%, 78.6%, 0%, 32.2%)
CIE-LABlab(35.11, 57.91, -55.50)
CIE-LCHlch(35.11, 80.21, 316.22°)
OKLaboklab(46.68% 0.1282 -0.1576)
OKLCHoklch(46.68% 0.203 309.1)
XYZxyz(16.3712, 8.5515, 40.3152)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25AD #57AD25
analogous
#3725AD #7B25AD #AD259B
triadic
#7B25AD #AD7B25 #25AD7B
tetradic
#7B25AD #AD3725 #57AD25 #259BAD
square
#7B25AD #AD3725 #57AD25 #259BAD
split-complementary
#7B25AD #9BAD25 #25AD37
monochromatic
#330F48 #571A7B #7B25AD #9C3AD5 #B56DE0

Accessibility & contrast

On white

7.75
#7B25AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7B25AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25AD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25AD#FFFFFF#000000##FFFFFF
##7B25AD1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#734769
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b25ad;
/* rgb */ color: rgb(123, 37, 173);
/* oklch */ color: oklch(46.7% 0.203 309.1);
Tailwind
colors: {
  custom: {
    50: '#a66ac6',
    500: '#7b25ad',
    950: '#000000',
  },
}
SCSS
$custom: #7b25ad;
$custom-light: #a66ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25ad",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 277.941,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.20314,
    "h": 309.1
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B25AD

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

Preview Lab → · Contrast checker → · Palette generator →

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