#7A25BB#7A25BB

#7A25BB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.7% C 0.216 H 304.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7A25BB
RGBrgb(122, 37, 187)
HSLhsl(274, 67%, 44%)
HSVhsv(274, 80%, 73%)
CMYKcmyk(34.8%, 80.2%, 0%, 26.7%)
CIE-LABlab(36.08, 60.81, -62.24)
CIE-LCHlch(36.08, 87.01, 314.34°)
OKLaboklab(47.67% 0.1233 -0.1774)
OKLCHoklch(47.67% 0.216 304.8)
XYZxyz(17.6552, 9.0487, 47.8205)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25BB #66BB25
analogous
#2F25BB #7A25BB #BB25B1
triadic
#7A25BB #BB7A25 #25BB7A
tetradic
#7A25BB #BB2F25 #66BB25 #25B1BB
square
#7A25BB #BB2F25 #66BB25 #25B1BB
split-complementary
#7A25BB #B1BB25 #25BB2F
monochromatic
#371155 #591B88 #7A25BB #9943DA #B576E4

Accessibility & contrast

On white

7.47
#7A25BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7A25BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25BB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25BB#FFFFFF#000000##FFFFFF
##7A25BB1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#6D4E71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a25bb;
/* rgb */ color: rgb(122, 37, 187);
/* oklch */ color: oklch(47.7% 0.216 304.8);
Tailwind
colors: {
  custom: {
    50: '#a76bd0',
    500: '#7a25bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a25bb;
$custom-light: #a76bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25bb",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 187
  },
  "hsl": {
    "h": 274,
    "s": 66.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47673,
    "c": 0.21604,
    "h": 304.8
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

primary
#7A25BB
secondary
#98CB70
accent
#EA3E88
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7A25BB

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

Preview Lab → · Contrast checker → · Palette generator →

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