#7D25BB#7D25BB

#7D25BB is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.217 H 306.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7D25BB
RGBrgb(125, 37, 187)
HSLhsl(275, 67%, 44%)
HSVhsv(275, 80%, 73%)
CMYKcmyk(33.2%, 80.2%, 0%, 26.7%)
CIE-LABlab(36.50, 61.29, -61.53)
CIE-LCHlch(36.50, 86.85, 314.89°)
OKLaboklab(48.06% 0.1275 -0.1752)
OKLCHoklch(48.06% 0.217 306)
XYZxyz(18.0867, 9.2711, 47.8408)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25BB #63BB25
analogous
#3225BB #7D25BB #BB25AE
triadic
#7D25BB #BB7D25 #25BB7D
tetradic
#7D25BB #BB3225 #63BB25 #25AEBB
square
#7D25BB #BB3225 #63BB25 #25AEBB
split-complementary
#7D25BB #AEBB25 #25BB32
monochromatic
#391155 #5B1B88 #7D25BB #9C43DA #B776E4

Accessibility & contrast

On white

7.36
#7D25BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7D25BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D25BB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D25BB#FFFFFF#000000##FFFFFF
##7D25BB1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#724D71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d25bb;
/* rgb */ color: rgb(125, 37, 187);
/* oklch */ color: oklch(48.1% 0.217 306.0);
Tailwind
colors: {
  custom: {
    50: '#a96bd0',
    500: '#7d25bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d25bb;
$custom-light: #a96bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25bb",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 187
  },
  "hsl": {
    "h": 275.2,
    "s": 66.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48057,
    "c": 0.2167,
    "h": 306
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#7D25BB
secondary
#96CB70
accent
#EA3E85
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7D25BB

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

Preview Lab → · Contrast checker → · Palette generator →

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