#7A25B7#7A25B7

#7A25B7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.212 H 305.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7A25B7
RGBrgb(122, 37, 183)
HSLhsl(275, 66%, 43%)
HSVhsv(275, 80%, 72%)
CMYKcmyk(33.3%, 79.8%, 0%, 28.2%)
CIE-LABlab(35.75, 59.93, -60.40)
CIE-LCHlch(35.75, 85.09, 314.77°)
OKLaboklab(47.34% 0.1244 -0.172)
OKLCHoklch(47.34% 0.212 305.9)
XYZxyz(17.2329, 8.8798, 45.5967)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25B7 #62B725
analogous
#3125B7 #7A25B7 #B725AB
triadic
#7A25B7 #B77A25 #25B77A
tetradic
#7A25B7 #B73125 #62B725 #25ABB7
square
#7A25B7 #B73125 #62B725 #25ABB7
split-complementary
#7A25B7 #ABB725 #25B731
monochromatic
#361051 #581B84 #7A25B7 #9941D9 #B474E3

Accessibility & contrast

On white

7.56
#7A25B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7A25B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25B7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25B7#FFFFFF#000000##FFFFFF
##7A25B71.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#6F4C6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a25b7;
/* rgb */ color: rgb(122, 37, 183);
/* oklch */ color: oklch(47.3% 0.212 305.9);
Tailwind
colors: {
  custom: {
    50: '#a66ace',
    500: '#7a25b7',
    950: '#000000',
  },
}
SCSS
$custom: #7a25b7;
$custom-light: #a66ace;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25b7",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 183
  },
  "hsl": {
    "h": 274.932,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47344,
    "c": 0.21227,
    "h": 305.9
  },
  "luminance": 0.0888
}

Semantic roles & 50–950 ramp

primary
#7A25B7
secondary
#94CA6E
accent
#E93F86
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7A25B7

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

Preview Lab → · Contrast checker → · Palette generator →

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