#7A25B3#7A25B3

#7A25B3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.208 H 307.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7A25B3
RGBrgb(122, 37, 179)
HSLhsl(276, 66%, 42%)
HSVhsv(276, 79%, 70%)
CMYKcmyk(31.8%, 79.3%, 0%, 29.8%)
CIE-LABlab(35.43, 59.04, -58.55)
CIE-LCHlch(35.43, 83.16, 315.24°)
OKLaboklab(47.02% 0.1254 -0.1666)
OKLCHoklch(47.02% 0.209 307)
XYZxyz(16.8225, 8.7156, 43.4351)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25B3 #5EB325
analogous
#3325B3 #7A25B3 #B325A5
triadic
#7A25B3 #B37A25 #25B37A
tetradic
#7A25B3 #B33325 #5EB325 #25A5B3
square
#7A25B3 #B33325 #5EB325 #25A5B3
split-complementary
#7A25B3 #A5B325 #25B333
monochromatic
#35104E #571B80 #7A25B3 #9A3ED7 #B471E2

Accessibility & contrast

On white

7.66
#7A25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7A25B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25B3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25B3#FFFFFF#000000##FFFFFF
##7A25B31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#704A6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a25b3;
/* rgb */ color: rgb(122, 37, 179);
/* oklch */ color: oklch(47.0% 0.208 307.0);
Tailwind
colors: {
  custom: {
    50: '#a66acb',
    500: '#7a25b3',
    950: '#000000',
  },
}
SCSS
$custom: #7a25b3;
$custom-light: #a66acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25b3",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 275.915,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47021,
    "c": 0.2085,
    "h": 307
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#7A25B3
secondary
#91C86B
accent
#E93F83
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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