#7D25B6#7D25B6

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

Color values

HEX#7D25B6
RGBrgb(125, 37, 182)
HSLhsl(276, 66%, 43%)
HSVhsv(276, 80%, 71%)
CMYKcmyk(31.3%, 79.7%, 0%, 28.6%)
CIE-LABlab(36.10, 60.20, -59.22)
CIE-LCHlch(36.10, 84.45, 315.47°)
OKLaboklab(47.65% 0.1288 -0.1685)
OKLCHoklch(47.65% 0.212 307.4)
XYZxyz(17.5607, 9.0607, 45.0707)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25B6 #5EB625
analogous
#3525B6 #7D25B6 #B625A6
triadic
#7D25B6 #B67D25 #25B67D
tetradic
#7D25B6 #B63525 #5EB625 #25A6B6
square
#7D25B6 #B63525 #5EB625 #25A6B6
split-complementary
#7D25B6 #A6B625 #25B635
monochromatic
#371050 #5A1B83 #7D25B6 #9C40D8 #B773E3

Accessibility & contrast

On white

7.47
#7D25B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7D25B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D25B6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D25B6#FFFFFF#000000##FFFFFF
##7D25B61.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#734B6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7d25b6;
/* rgb */ color: rgb(125, 37, 182);
/* oklch */ color: oklch(47.7% 0.212 307.4);
Tailwind
colors: {
  custom: {
    50: '#a86bcd',
    500: '#7d25b6',
    950: '#000000',
  },
}
SCSS
$custom: #7d25b6;
$custom-light: #a86bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25b6",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 182
  },
  "hsl": {
    "h": 276.414,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.21204,
    "h": 307.4
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

primary
#7D25B6
secondary
#92CA6D
accent
#E93F82
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7D25B6

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

Preview Lab → · Contrast checker → · Palette generator →

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