#7D25D4#7D25D4

#7D25D4 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 50.2% C 0.240 H 300.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7D25D4
RGBrgb(125, 37, 212)
HSLhsl(270, 70%, 49%)
HSVhsv(270, 83%, 83%)
CMYKcmyk(41%, 82.5%, 0%, 16.9%)
CIE-LABlab(38.61, 66.86, -72.66)
CIE-LCHlch(38.61, 98.74, 312.62°)
OKLaboklab(50.17% 0.12 -0.2079)
OKLCHoklch(50.17% 0.24 300)
XYZxyz(20.9997, 10.4363, 63.1826)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25D4 #7CD425
analogous
#2525D4 #7D25D4 #D425D4
triadic
#7D25D4 #D47D25 #25D47D
tetradic
#7D25D4 #D42525 #7CD425 #25D4D4
square
#7D25D4 #D42525 #7CD425 #25D4D4
split-complementary
#7D25D4 #D4D425 #25D425
monochromatic
#40136C #5E1CA0 #7D25D4 #9C55E1 #BA89EA

Accessibility & contrast

On white

6.80
#7D25D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7D25D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D25D4
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D25D4#FFFFFF#000000##FFFFFF
##7D25D41.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD9
Deuteranopia (green-blind)
#005AD1
Tritanopia (blue-blind)
#68587F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7d25d4;
/* rgb */ color: rgb(125, 37, 212);
/* oklch */ color: oklch(50.2% 0.240 300.0);
Tailwind
colors: {
  custom: {
    50: '#ab6ce2',
    500: '#7d25d4',
    950: '#000000',
  },
}
SCSS
$custom: #7d25d4;
$custom-light: #ab6ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25d4",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 212
  },
  "hsl": {
    "h": 270.171,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.24003,
    "h": 300
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#7D25D4
secondary
#AAD481
accent
#ED3B93
background
#FBF6FE
surface
#F6ECFC
border
#D0C7D5
text
#110816
muted
#807A84

Preview Lab

Preview with #7D25D4

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

Preview Lab → · Contrast checker → · Palette generator →

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