#7F25BA#7F25BA

#7F25BA is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.216 H 307.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7F25BA
RGBrgb(127, 37, 186)
HSLhsl(276, 67%, 44%)
HSVhsv(276, 80%, 73%)
CMYKcmyk(31.7%, 80.1%, 0%, 27.1%)
CIE-LABlab(36.71, 61.40, -60.59)
CIE-LCHlch(36.71, 86.26, 315.38°)
OKLaboklab(48.24% 0.1305 -0.1724)
OKLCHoklch(48.24% 0.216 307.1)
XYZxyz(18.2750, 9.3806, 47.2927)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F25BA #60BA25
analogous
#3525BA #7F25BA #BA25AA
triadic
#7F25BA #BA7F25 #25BA7F
tetradic
#7F25BA #BA3525 #60BA25 #25AABA
square
#7F25BA #BA3525 #60BA25 #25AABA
split-complementary
#7F25BA #AABA25 #25BA35
monochromatic
#391154 #5C1B87 #7F25BA #9E43DA #B876E4

Accessibility & contrast

On white

7.30
#7F25BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7F25BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F25BA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F25BA#FFFFFF#000000##FFFFFF
##7F25BA1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#754C70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f25ba;
/* rgb */ color: rgb(127, 37, 186);
/* oklch */ color: oklch(48.2% 0.216 307.1);
Tailwind
colors: {
  custom: {
    50: '#aa6bd0',
    500: '#7f25ba',
    950: '#000000',
  },
}
SCSS
$custom: #7f25ba;
$custom-light: #aa6bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f25ba",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 276.242,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48235,
    "c": 0.21625,
    "h": 307.1
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#7F25BA
secondary
#94CB70
accent
#EA3E82
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7F25BA

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

Preview Lab → · Contrast checker → · Palette generator →

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