#7A25C1#7A25C1

#7A25C1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.222 H 303.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#7A25C1
RGBrgb(122, 37, 193)
HSLhsl(273, 68%, 45%)
HSVhsv(273, 81%, 76%)
CMYKcmyk(36.8%, 80.8%, 0%, 24.3%)
CIE-LABlab(36.58, 62.15, -64.95)
CIE-LCHlch(36.58, 89.90, 313.74°)
OKLaboklab(48.17% 0.1216 -0.1854)
OKLCHoklch(48.17% 0.222 303.3)
XYZxyz(18.3110, 9.3110, 51.2743)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25C1 #6CC125
analogous
#2C25C1 #7A25C1 #C125BA
triadic
#7A25C1 #C17A25 #25C17A
tetradic
#7A25C1 #C12C25 #6CC125 #25BAC1
square
#7A25C1 #C12C25 #6CC125 #25BAC1
split-complementary
#7A25C1 #BAC125 #25C12C
monochromatic
#39115A #5A1B8E #7A25C1 #9847DC #B57BE6

Accessibility & contrast

On white

7.34
#7A25C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7A25C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25C1
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25C1#FFFFFF#000000##FFFFFF
##7A25C11.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#6B5074
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7a25c1;
/* rgb */ color: rgb(122, 37, 193);
/* oklch */ color: oklch(48.2% 0.222 303.3);
Tailwind
colors: {
  custom: {
    50: '#a76bd5',
    500: '#7a25c1',
    950: '#000000',
  },
}
SCSS
$custom: #7a25c1;
$custom-light: #a76bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25c1",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 272.692,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48174,
    "c": 0.22169,
    "h": 303.3
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#7A25C1
secondary
#9DCE74
accent
#EB3D8C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7A25C1

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

Preview Lab → · Contrast checker → · Palette generator →

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