#7925A5#7925A5

#7925A5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.195 H 310.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7925A5
RGBrgb(121, 37, 165)
HSLhsl(279, 63%, 40%)
HSVhsv(279, 78%, 65%)
CMYKcmyk(26.7%, 77.6%, 0%, 35.3%)
CIE-LABlab(34.20, 55.83, -52.19)
CIE-LCHlch(34.20, 76.42, 316.93°)
OKLaboklab(45.79% 0.1272 -0.1479)
OKLCHoklch(45.79% 0.195 310.7)
XYZxyz(15.3369, 8.1051, 36.3465)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7925A5 #51A525
analogous
#3925A5 #7925A5 #A52591
triadic
#7925A5 #A57925 #25A579
tetradic
#7925A5 #A53925 #51A525 #2591A5
square
#7925A5 #A53925 #51A525 #2591A5
split-complementary
#7925A5 #91A525 #25A539
monochromatic
#300F41 #541A73 #7925A5 #9C35D2 #B567DD

Accessibility & contrast

On white

8.01
#7925A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7925A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7925A5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7925A5#FFFFFF#000000##FFFFFF
##7925A51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0152A2
Tritanopia (blue-blind)
#734464
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7925a5;
/* rgb */ color: rgb(121, 37, 165);
/* oklch */ color: oklch(45.8% 0.195 310.7);
Tailwind
colors: {
  custom: {
    50: '#a469c0',
    500: '#7925a5',
    950: '#000000',
  },
}
SCSS
$custom: #7925a5;
$custom-light: #a469c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7925a5",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 279.375,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45788,
    "c": 0.19506,
    "h": 310.7
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#7925A5
secondary
#84C363
accent
#E6417A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7925A5

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

Preview Lab → · Contrast checker → · Palette generator →

#7925A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva