#7B25AB#7B25AB

#7B25AB is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.201 H 309.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7B25AB
RGBrgb(123, 37, 171)
HSLhsl(279, 64%, 41%)
HSVhsv(279, 78%, 67%)
CMYKcmyk(28.1%, 78.4%, 0%, 32.9%)
CIE-LABlab(34.95, 57.48, -54.55)
CIE-LCHlch(34.95, 79.25, 316.50°)
OKLaboklab(46.52% 0.1286 -0.1548)
OKLCHoklch(46.52% 0.201 309.7)
XYZxyz(16.1792, 8.4747, 39.3037)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25AB #55AB25
analogous
#3825AB #7B25AB #AB2598
triadic
#7B25AB #AB7B25 #25AB7B
tetradic
#7B25AB #AB3825 #55AB25 #2598AB
square
#7B25AB #AB3825 #55AB25 #2598AB
split-complementary
#7B25AB #98AB25 #25AB38
monochromatic
#330F46 #571A79 #7B25AB #9D39D4 #B66BDF

Accessibility & contrast

On white

7.79
#7B25AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7B25AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25AB
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25AB#FFFFFF#000000##FFFFFF
##7B25AB1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#744668
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7b25ab;
/* rgb */ color: rgb(123, 37, 171);
/* oklch */ color: oklch(46.5% 0.201 309.7);
Tailwind
colors: {
  custom: {
    50: '#a66ac5',
    500: '#7b25ab',
    950: '#000000',
  },
}
SCSS
$custom: #7b25ab;
$custom-light: #a66ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25ab",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 171
  },
  "hsl": {
    "h": 278.507,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46521,
    "c": 0.20127,
    "h": 309.7
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#7B25AB
secondary
#88C567
accent
#E7407C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B25AB

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

Preview Lab → · Contrast checker → · Palette generator →

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