#7B25BD#7B25BD

#7B25BD is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.218 H 304.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7B25BD
RGBrgb(123, 37, 189)
HSLhsl(274, 67%, 44%)
HSVhsv(274, 80%, 74%)
CMYKcmyk(34.9%, 80.4%, 0%, 25.9%)
CIE-LABlab(36.38, 61.42, -62.91)
CIE-LCHlch(36.38, 87.92, 314.31°)
OKLaboklab(47.97% 0.1241 -0.1794)
OKLCHoklch(47.97% 0.218 304.7)
XYZxyz(18.0131, 9.2083, 48.9627)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25BD #67BD25
analogous
#2F25BD #7B25BD #BD25B3
triadic
#7B25BD #BD7B25 #25BD7B
tetradic
#7B25BD #BD2F25 #67BD25 #25B3BD
square
#7B25BD #BD2F25 #67BD25 #25B3BD
split-complementary
#7B25BD #B3BD25 #25BD2F
monochromatic
#381157 #5A1B8A #7B25BD #9945DB #B578E5

Accessibility & contrast

On white

7.39
#7B25BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7B25BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25BD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25BD#FFFFFF#000000##FFFFFF
##7B25BD1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#6E4E72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b25bd;
/* rgb */ color: rgb(123, 37, 189);
/* oklch */ color: oklch(48.0% 0.218 304.7);
Tailwind
colors: {
  custom: {
    50: '#a76bd2',
    500: '#7b25bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b25bd;
$custom-light: #a76bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25bd",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 273.947,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47965,
    "c": 0.21813,
    "h": 304.7
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#7B25BD
secondary
#99CC72
accent
#EA3E89
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7B25BD

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

Preview Lab → · Contrast checker → · Palette generator →

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