#7B25AC#7B25AC

#7B25AC is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.202 H 309.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7B25AC
RGBrgb(123, 37, 172)
HSLhsl(278, 65%, 41%)
HSVhsv(278, 78%, 67%)
CMYKcmyk(28.5%, 78.5%, 0%, 32.5%)
CIE-LABlab(35.03, 57.70, -55.03)
CIE-LCHlch(35.03, 79.73, 316.36°)
OKLaboklab(46.6% 0.1284 -0.1562)
OKLCHoklch(46.6% 0.202 309.4)
XYZxyz(16.2748, 8.5130, 39.8075)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25AC #56AC25
analogous
#3725AC #7B25AC #AC2599
triadic
#7B25AC #AC7B25 #25AC7B
tetradic
#7B25AC #AC3725 #56AC25 #2599AC
square
#7B25AC #AC3725 #56AC25 #2599AC
split-complementary
#7B25AC #99AC25 #25AC37
monochromatic
#330F47 #571A7A #7B25AC #9C3AD5 #B66CDF

Accessibility & contrast

On white

7.77
#7B25AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7B25AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25AC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25AC#FFFFFF#000000##FFFFFF
##7B25AC1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#744768
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b25ac;
/* rgb */ color: rgb(123, 37, 172);
/* oklch */ color: oklch(46.6% 0.202 309.4);
Tailwind
colors: {
  custom: {
    50: '#a66ac6',
    500: '#7b25ac',
    950: '#000000',
  },
}
SCSS
$custom: #7b25ac;
$custom-light: #a66ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25ac",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 278.222,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46598,
    "c": 0.2022,
    "h": 309.4
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#7B25AC
secondary
#89C667
accent
#E8407D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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