#7F25BD#7F25BD

#7F25BD is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.219 H 306.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7F25BD
RGBrgb(127, 37, 189)
HSLhsl(276, 67%, 44%)
HSVhsv(276, 80%, 74%)
CMYKcmyk(32.8%, 80.4%, 0%, 25.9%)
CIE-LABlab(36.95, 62.05, -61.97)
CIE-LCHlch(36.95, 87.69, 315.04°)
OKLaboklab(48.48% 0.1297 -0.1764)
OKLCHoklch(48.48% 0.219 306.3)
XYZxyz(18.5972, 9.5095, 48.9900)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F25BD #63BD25
analogous
#3325BD #7F25BD #BD25AF
triadic
#7F25BD #BD7F25 #25BD7F
tetradic
#7F25BD #BD3325 #63BD25 #25AFBD
square
#7F25BD #BD3325 #63BD25 #25AFBD
split-complementary
#7F25BD #AFBD25 #25BD33
monochromatic
#3A1157 #5D1B8A #7F25BD #9D45DB #B878E5

Accessibility & contrast

On white

7.24
#7F25BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7F25BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F25BD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F25BD#FFFFFF#000000##FFFFFF
##7F25BD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#744E72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f25bd;
/* rgb */ color: rgb(127, 37, 189);
/* oklch */ color: oklch(48.5% 0.219 306.3);
Tailwind
colors: {
  custom: {
    50: '#aa6bd2',
    500: '#7f25bd',
    950: '#000000',
  },
}
SCSS
$custom: #7f25bd;
$custom-light: #aa6bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f25bd",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 275.526,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48477,
    "c": 0.21901,
    "h": 306.3
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#7F25BD
secondary
#97CC72
accent
#EA3E84
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7F25BD

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

Preview Lab → · Contrast checker → · Palette generator →

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