#7E25BE#7E25BE

#7E25BE is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.220 H 305.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7E25BE
RGBrgb(126, 37, 190)
HSLhsl(275, 67%, 45%)
HSVhsv(275, 81%, 75%)
CMYKcmyk(33.7%, 80.5%, 0%, 25.5%)
CIE-LABlab(36.89, 62.11, -62.66)
CIE-LCHlch(36.89, 88.23, 314.75°)
OKLaboklab(48.43% 0.1281 -0.1785)
OKLCHoklch(48.43% 0.22 305.7)
XYZxyz(18.5579, 9.4766, 49.5567)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E25BE #65BE25
analogous
#3225BE #7E25BE #BE25B2
triadic
#7E25BE #BE7E25 #25BE7E
tetradic
#7E25BE #BE3225 #65BE25 #25B2BE
square
#7E25BE #BE3225 #65BE25 #25B2BE
split-complementary
#7E25BE #B2BE25 #25BE32
monochromatic
#3A1158 #5C1B8B #7E25BE #9C45DB #B879E5

Accessibility & contrast

On white

7.25
#7E25BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7E25BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E25BE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E25BE#FFFFFF#000000##FFFFFF
##7E25BE1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e25be;
/* rgb */ color: rgb(126, 37, 190);
/* oklch */ color: oklch(48.4% 0.220 305.7);
Tailwind
colors: {
  custom: {
    50: '#aa6bd3',
    500: '#7e25be',
    950: '#000000',
  },
}
SCSS
$custom: #7e25be;
$custom-light: #aa6bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e25be",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 274.902,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.21971,
    "h": 305.7
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

primary
#7E25BE
secondary
#98CD72
accent
#EA3E86
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7E25BE

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

Preview Lab → · Contrast checker → · Palette generator →

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