#7F25B3#7F25B3

#7F25B3 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.210 H 309.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7F25B3
RGBrgb(127, 37, 179)
HSLhsl(278, 66%, 42%)
HSVhsv(278, 79%, 70%)
CMYKcmyk(29.1%, 79.3%, 0%, 29.8%)
CIE-LABlab(36.16, 59.90, -57.34)
CIE-LCHlch(36.16, 82.92, 316.25°)
OKLaboklab(47.68% 0.1323 -0.1629)
OKLCHoklch(47.68% 0.21 309.1)
XYZxyz(17.5490, 9.0902, 43.4692)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F25B3 #59B325
analogous
#3825B3 #7F25B3 #B325A0
triadic
#7F25B3 #B37F25 #25B37F
tetradic
#7F25B3 #B33825 #59B325 #25A0B3
square
#7F25B3 #B33825 #59B325 #25A0B3
split-complementary
#7F25B3 #A0B325 #25B338
monochromatic
#37104E #5B1B80 #7F25B3 #9F3ED7 #B871E2

Accessibility & contrast

On white

7.45
#7F25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7F25B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F25B3
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F25B3#FFFFFF#000000##FFFFFF
##7F25B31.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#77496C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f25b3;
/* rgb */ color: rgb(127, 37, 179);
/* oklch */ color: oklch(47.7% 0.210 309.1);
Tailwind
colors: {
  custom: {
    50: '#a96bcb',
    500: '#7f25b3',
    950: '#000000',
  },
}
SCSS
$custom: #7f25b3;
$custom-light: #a96bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f25b3",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 278.028,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47679,
    "c": 0.20979,
    "h": 309.1
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#7F25B3
secondary
#8DC86B
accent
#E93F7D
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #7F25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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