#7B25AF#7B25AF

#7B25AF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.205 H 308.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7B25AF
RGBrgb(123, 37, 175)
HSLhsl(277, 65%, 42%)
HSVhsv(277, 79%, 69%)
CMYKcmyk(29.7%, 78.9%, 0%, 31.4%)
CIE-LABlab(35.26, 58.34, -56.44)
CIE-LCHlch(35.26, 81.18, 315.95°)
OKLaboklab(46.83% 0.1277 -0.1604)
OKLCHoklch(46.83% 0.205 308.5)
XYZxyz(16.5662, 8.6295, 41.3421)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B25AF #59AF25
analogous
#3625AF #7B25AF #AF259E
triadic
#7B25AF #AF7B25 #25AF7B
tetradic
#7B25AF #AF3625 #59AF25 #259EAF
square
#7B25AF #AF3625 #59AF25 #259EAF
split-complementary
#7B25AF #9EAF25 #25AF36
monochromatic
#34104A #571A7C #7B25AF #9C3CD6 #B56EE0

Accessibility & contrast

On white

7.70
#7B25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7B25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B25AF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B25AF#FFFFFF#000000##FFFFFF
##7B25AF1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#73486A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b25af;
/* rgb */ color: rgb(123, 37, 175);
/* oklch */ color: oklch(46.8% 0.205 308.5);
Tailwind
colors: {
  custom: {
    50: '#a66ac8',
    500: '#7b25af',
    950: '#000000',
  },
}
SCSS
$custom: #7b25af;
$custom-light: #a66ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b25af",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 277.391,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46834,
    "c": 0.20501,
    "h": 308.5
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#7B25AF
secondary
#8CC769
accent
#E8407F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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