#7A25B1#7A25B1

#7A25B1 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.9% C 0.207 H 307.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7A25B1
RGBrgb(122, 37, 177)
HSLhsl(276, 65%, 42%)
HSVhsv(276, 79%, 69%)
CMYKcmyk(31.1%, 79.1%, 0%, 30.6%)
CIE-LABlab(35.27, 58.61, -57.62)
CIE-LCHlch(35.27, 82.19, 315.48°)
OKLaboklab(46.86% 0.1259 -0.1639)
OKLCHoklch(46.86% 0.207 307.5)
XYZxyz(16.6217, 8.6353, 42.3776)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25B1 #5CB125
analogous
#3425B1 #7A25B1 #B125A2
triadic
#7A25B1 #B17A25 #25B17A
tetradic
#7A25B1 #B13425 #5CB125 #25A2B1
square
#7A25B1 #B13425 #5CB125 #25A2B1
split-complementary
#7A25B1 #A2B125 #25B134
monochromatic
#34104C #571A7E #7A25B1 #9A3DD6 #B46FE1

Accessibility & contrast

On white

7.70
#7A25B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7A25B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25B1
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25B1#FFFFFF#000000##FFFFFF
##7A25B11.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#71496B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7a25b1;
/* rgb */ color: rgb(122, 37, 177);
/* oklch */ color: oklch(46.9% 0.207 307.5);
Tailwind
colors: {
  custom: {
    50: '#a66ac9',
    500: '#7a25b1',
    950: '#000000',
  },
}
SCSS
$custom: #7a25b1;
$custom-light: #a66ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25b1",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 276.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4686,
    "c": 0.20662,
    "h": 307.5
  },
  "luminance": 0.08635
}

Semantic roles & 50–950 ramp

primary
#7A25B1
secondary
#8FC86A
accent
#E83F82
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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