#7D25C1#7D25C1

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

Color values

HEX#7D25C1
RGBrgb(125, 37, 193)
HSLhsl(274, 68%, 45%)
HSVhsv(274, 81%, 76%)
CMYKcmyk(35.2%, 80.8%, 0%, 24.3%)
CIE-LABlab(36.99, 62.61, -64.26)
CIE-LCHlch(36.99, 89.72, 314.26°)
OKLaboklab(48.55% 0.1258 -0.1832)
OKLCHoklch(48.55% 0.222 304.5)
XYZxyz(18.7424, 9.5334, 51.2945)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25C1 #69C125
analogous
#2F25C1 #7D25C1 #C125B7
triadic
#7D25C1 #C17D25 #25C17D
tetradic
#7D25C1 #C12F25 #69C125 #25B7C1
square
#7D25C1 #C12F25 #69C125 #25B7C1
split-complementary
#7D25C1 #B7C125 #25C12F
monochromatic
#3A115A #5C1B8E #7D25C1 #9B47DC #B77BE6

Accessibility & contrast

On white

7.22
#7D25C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7D25C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D25C1
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D25C1#FFFFFF#000000##FFFFFF
##7D25C11.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#705074
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7d25c1;
/* rgb */ color: rgb(125, 37, 193);
/* oklch */ color: oklch(48.5% 0.222 304.5);
Tailwind
colors: {
  custom: {
    50: '#a96bd5',
    500: '#7d25c1',
    950: '#000000',
  },
}
SCSS
$custom: #7d25c1;
$custom-light: #a96bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25c1",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 273.846,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4855,
    "c": 0.22229,
    "h": 304.5
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#7D25C1
secondary
#9BCE74
accent
#EB3D89
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7D25C1

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

Preview Lab → · Contrast checker → · Palette generator →

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