#7F25B0#7F25B0

#7F25B0 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.207 H 309.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7F25B0
RGBrgb(127, 37, 176)
HSLhsl(279, 65%, 42%)
HSVhsv(279, 79%, 69%)
CMYKcmyk(27.8%, 79%, 0%, 31%)
CIE-LABlab(35.93, 59.26, -55.93)
CIE-LCHlch(35.93, 81.49, 316.66°)
OKLaboklab(47.45% 0.1329 -0.1587)
OKLCHoklch(47.45% 0.207 309.9)
XYZxyz(17.2489, 8.9701, 41.8886)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F25B0 #56B025
analogous
#3A25B0 #7F25B0 #B0259C
triadic
#7F25B0 #B07F25 #25B07F
tetradic
#7F25B0 #B03A25 #56B025 #259CB0
square
#7F25B0 #B03A25 #56B025 #259CB0
split-complementary
#7F25B0 #9CB025 #25B03A
monochromatic
#36104B #5B1A7D #7F25B0 #A03CD6 #B96FE1

Accessibility & contrast

On white

7.52
#7F25B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F25B0
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F25B0#FFFFFF#000000##FFFFFF
##7F25B01.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#78486B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f25b0;
/* rgb */ color: rgb(127, 37, 176);
/* oklch */ color: oklch(47.4% 0.207 309.9);
Tailwind
colors: {
  custom: {
    50: '#a96bc8',
    500: '#7f25b0',
    950: '#000000',
  },
}
SCSS
$custom: #7f25b0;
$custom-light: #a96bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f25b0",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 278.849,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47445,
    "c": 0.20704,
    "h": 309.9
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#7F25B0
secondary
#8BC76A
accent
#E8407B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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