#7F25BE#7F25BE

#7F25BE is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.6% C 0.220 H 306.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7F25BE
RGBrgb(127, 37, 190)
HSLhsl(275, 67%, 45%)
HSVhsv(275, 81%, 75%)
CMYKcmyk(33.2%, 80.5%, 0%, 25.5%)
CIE-LABlab(37.03, 62.27, -62.42)
CIE-LCHlch(37.03, 88.17, 314.93°)
OKLaboklab(48.56% 0.1295 -0.1778)
OKLCHoklch(48.56% 0.22 306.1)
XYZxyz(18.7062, 9.5530, 49.5637)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F25BE #64BE25
analogous
#3225BE #7F25BE #BE25B1
triadic
#7F25BE #BE7F25 #25BE7F
tetradic
#7F25BE #BE3225 #64BE25 #25B1BE
square
#7F25BE #BE3225 #64BE25 #25B1BE
split-complementary
#7F25BE #B1BE25 #25BE32
monochromatic
#3B1158 #5D1B8B #7F25BE #9D45DB #B879E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F25BE#FFFFFF#000000##FFFFFF
##7F25BE1.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)
#0055C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#734E73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f25be;
/* rgb */ color: rgb(127, 37, 190);
/* oklch */ color: oklch(48.6% 0.220 306.1);
Tailwind
colors: {
  custom: {
    50: '#aa6bd3',
    500: '#7f25be',
    950: '#000000',
  },
}
SCSS
$custom: #7f25be;
$custom-light: #aa6bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f25be",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 275.294,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48558,
    "c": 0.21994,
    "h": 306.1
  },
  "luminance": 0.09553
}

Semantic roles & 50–950 ramp

primary
#7F25BE
secondary
#97CD72
accent
#EA3E85
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #7F25BE

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

Preview Lab → · Contrast checker → · Palette generator →

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