#7A25BD#7A25BD

#7A25BD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.218 H 304.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7A25BD
RGBrgb(122, 37, 189)
HSLhsl(274, 67%, 44%)
HSVhsv(274, 80%, 74%)
CMYKcmyk(35.4%, 80.4%, 0%, 25.9%)
CIE-LABlab(36.24, 61.26, -63.15)
CIE-LCHlch(36.24, 87.98, 314.13°)
OKLaboklab(47.84% 0.1227 -0.1801)
OKLCHoklch(47.84% 0.218 304.3)
XYZxyz(17.8708, 9.1349, 48.9560)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A25BD #68BD25
analogous
#2E25BD #7A25BD #BD25B4
triadic
#7A25BD #BD7A25 #25BD7A
tetradic
#7A25BD #BD2E25 #68BD25 #25B4BD
square
#7A25BD #BD2E25 #68BD25 #25B4BD
split-complementary
#7A25BD #B4BD25 #25BD2E
monochromatic
#381157 #591B8A #7A25BD #9845DB #B578E5

Accessibility & contrast

On white

7.43
#7A25BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7A25BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A25BD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A25BD#FFFFFF#000000##FFFFFF
##7A25BD1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#6D4E72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a25bd;
/* rgb */ color: rgb(122, 37, 189);
/* oklch */ color: oklch(47.8% 0.218 304.3);
Tailwind
colors: {
  custom: {
    50: '#a76bd2',
    500: '#7a25bd',
    950: '#000000',
  },
}
SCSS
$custom: #7a25bd;
$custom-light: #a76bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a25bd",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 273.553,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47839,
    "c": 0.21792,
    "h": 304.3
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#7A25BD
secondary
#9ACC72
accent
#EA3E8A
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7A25BD

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

Preview Lab → · Contrast checker → · Palette generator →

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