#7B25B6#7B25B6

#7B25B6 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.212 H 306.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7B25B6
RGBrgb(123, 37, 182)
HSLhsl(276, 66%, 43%)
HSVhsv(276, 80%, 71%)
CMYKcmyk(32.4%, 79.7%, 0%, 28.6%)
CIE-LABlab(35.81, 59.87, -59.70)
CIE-LCHlch(35.81, 84.55, 315.08°)
OKLaboklab(47.39% 0.126 -0.1699)
OKLCHoklch(47.39% 0.212 306.6)
XYZxyz(17.2716, 8.9117, 45.0571)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25B6 #60B625
analogous
#3225B6 #7B25B6 #B625A8
triadic
#7B25B6 #B67B25 #25B67B
tetradic
#7B25B6 #B63225 #60B625 #25A8B6
square
#7B25B6 #B63225 #60B625 #25A8B6
split-complementary
#7B25B6 #A8B625 #25B632
monochromatic
#361050 #591B83 #7B25B6 #9A40D8 #B573E3

Accessibility & contrast

On white

7.55
#7B25B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7B25B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25B6
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25B6#FFFFFF#000000##FFFFFF
##7B25B61.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#714B6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b25b6;
/* rgb */ color: rgb(123, 37, 182);
/* oklch */ color: oklch(47.4% 0.212 306.6);
Tailwind
colors: {
  custom: {
    50: '#a76acd',
    500: '#7b25b6',
    950: '#000000',
  },
}
SCSS
$custom: #7b25b6;
$custom-light: #a76acd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25b6",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 182
  },
  "hsl": {
    "h": 275.586,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47392,
    "c": 0.21156,
    "h": 306.6
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B25B6

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

Preview Lab → · Contrast checker → · Palette generator →

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