#7D25B3#7D25B3

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

Color values

HEX#7D25B3
RGBrgb(125, 37, 179)
HSLhsl(277, 66%, 42%)
HSVhsv(277, 79%, 70%)
CMYKcmyk(30.2%, 79.3%, 0%, 29.8%)
CIE-LABlab(35.86, 59.55, -57.83)
CIE-LCHlch(35.86, 83.01, 315.84°)
OKLaboklab(47.41% 0.1295 -0.1644)
OKLCHoklch(47.41% 0.209 308.2)
XYZxyz(17.2540, 8.9381, 43.4554)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25B3 #5BB325
analogous
#3625B3 #7D25B3 #B325A2
triadic
#7D25B3 #B37D25 #25B37D
tetradic
#7D25B3 #B33625 #5BB325 #25A2B3
square
#7D25B3 #B33625 #5BB325 #25A2B3
split-complementary
#7D25B3 #A2B325 #25B336
monochromatic
#36104E #5A1B80 #7D25B3 #9D3ED7 #B771E2

Accessibility & contrast

On white

7.53
#7D25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7D25B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D25B3
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D25B3#FFFFFF#000000##FFFFFF
##7D25B31.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d25b3;
/* rgb */ color: rgb(125, 37, 179);
/* oklch */ color: oklch(47.4% 0.209 308.2);
Tailwind
colors: {
  custom: {
    50: '#a86acb',
    500: '#7d25b3',
    950: '#000000',
  },
}
SCSS
$custom: #7d25b3;
$custom-light: #a86acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25b3",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 277.183,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.20926,
    "h": 308.2
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#7D25B3
secondary
#8FC86B
accent
#E93F80
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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