#7A25B6#7A25B6

#7A25B6 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.211 H 306.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7A25B6
RGBrgb(122, 37, 182)
HSLhsl(275, 66%, 43%)
HSVhsv(275, 80%, 71%)
CMYKcmyk(33%, 79.7%, 0%, 28.6%)
CIE-LABlab(35.67, 59.70, -59.94)
CIE-LCHlch(35.67, 84.60, 314.89°)
OKLaboklab(47.26% 0.1246 -0.1707)
OKLCHoklch(47.26% 0.211 306.1)
XYZxyz(17.1292, 8.8383, 45.0505)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25B6 #61B625
analogous
#3125B6 #7A25B6 #B625AA
triadic
#7A25B6 #B67A25 #25B67A
tetradic
#7A25B6 #B63125 #61B625 #25AAB6
square
#7A25B6 #B63125 #61B625 #25AAB6
split-complementary
#7A25B6 #AAB625 #25B631
monochromatic
#361050 #581B83 #7A25B6 #9940D8 #B473E3

Accessibility & contrast

On white

7.59
#7A25B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7A25B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25B6
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25B6#FFFFFF#000000##FFFFFF
##7A25B61.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#6F4B6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7a25b6;
/* rgb */ color: rgb(122, 37, 182);
/* oklch */ color: oklch(47.3% 0.211 306.1);
Tailwind
colors: {
  custom: {
    50: '#a66acd',
    500: '#7a25b6',
    950: '#000000',
  },
}
SCSS
$custom: #7a25b6;
$custom-light: #a66acd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25b6",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 182
  },
  "hsl": {
    "h": 275.172,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.21133,
    "h": 306.1
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#7A25B6
secondary
#93CA6D
accent
#E93F85
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7A25B6

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

Preview Lab → · Contrast checker → · Palette generator →

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