#7B25B3#7B25B3

#7B25B3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.209 H 307.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7B25B3
RGBrgb(123, 37, 179)
HSLhsl(276, 66%, 42%)
HSVhsv(276, 79%, 70%)
CMYKcmyk(31.3%, 79.3%, 0%, 29.8%)
CIE-LABlab(35.57, 59.21, -58.31)
CIE-LCHlch(35.57, 83.11, 315.44°)
OKLaboklab(47.15% 0.1268 -0.1659)
OKLCHoklch(47.15% 0.209 307.4)
XYZxyz(16.9649, 8.7890, 43.4418)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25B3 #5DB325
analogous
#3425B3 #7B25B3 #B325A4
triadic
#7B25B3 #B37B25 #25B37B
tetradic
#7B25B3 #B33425 #5DB325 #25A4B3
square
#7B25B3 #B33425 #5DB325 #25A4B3
split-complementary
#7B25B3 #A4B325 #25B334
monochromatic
#35104E #581B80 #7B25B3 #9B3ED7 #B571E2

Accessibility & contrast

On white

7.61
#7B25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7B25B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25B3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25B3#FFFFFF#000000##FFFFFF
##7B25B31.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#714A6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b25b3;
/* rgb */ color: rgb(123, 37, 179);
/* oklch */ color: oklch(47.2% 0.209 307.4);
Tailwind
colors: {
  custom: {
    50: '#a76acb',
    500: '#7b25b3',
    950: '#000000',
  },
}
SCSS
$custom: #7b25b3;
$custom-light: #a76acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25b3",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 276.338,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.20875,
    "h": 307.4
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#7B25B3
secondary
#90C86B
accent
#E93F82
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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