#7D25BE#7D25BE

#7D25BE is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.3% C 0.219 H 305.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7D25BE
RGBrgb(125, 37, 190)
HSLhsl(275, 67%, 45%)
HSVhsv(275, 81%, 75%)
CMYKcmyk(34.2%, 80.5%, 0%, 25.5%)
CIE-LABlab(36.74, 61.95, -62.90)
CIE-LCHlch(36.74, 88.28, 314.57°)
OKLaboklab(48.3% 0.1267 -0.1792)
OKLCHoklch(48.3% 0.219 305.2)
XYZxyz(18.4112, 9.4009, 49.5498)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25BE #66BE25
analogous
#3125BE #7D25BE #BE25B3
triadic
#7D25BE #BE7D25 #25BE7D
tetradic
#7D25BE #BE3125 #66BE25 #25B3BE
square
#7D25BE #BE3125 #66BE25 #25B3BE
split-complementary
#7D25BE #B3BE25 #25BE31
monochromatic
#3A1158 #5B1B8B #7D25BE #9B45DB #B779E5

Accessibility & contrast

On white

7.29
#7D25BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7D25BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D25BE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D25BE#FFFFFF#000000##FFFFFF
##7D25BE1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#714E73
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d25be;
/* rgb */ color: rgb(125, 37, 190);
/* oklch */ color: oklch(48.3% 0.219 305.2);
Tailwind
colors: {
  custom: {
    50: '#a96bd3',
    500: '#7d25be',
    950: '#000000',
  },
}
SCSS
$custom: #7d25be;
$custom-light: #a96bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25be",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 274.51,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48302,
    "c": 0.21949,
    "h": 305.2
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#7D25BE
secondary
#99CD72
accent
#EA3E87
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7D25BE

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

Preview Lab → · Contrast checker → · Palette generator →

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