#7925C5#7925C5

#7925C5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.225 H 301.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7925C5
RGBrgb(121, 37, 197)
HSLhsl(272, 68%, 46%)
HSVhsv(272, 81%, 77%)
CMYKcmyk(38.6%, 81.2%, 0%, 22.7%)
CIE-LABlab(36.78, 62.91, -66.97)
CIE-LCHlch(36.78, 91.88, 313.21°)
OKLaboklab(48.39% 0.1189 -0.1913)
OKLCHoklch(48.39% 0.225 301.9)
XYZxyz(18.6223, 9.4192, 53.6495)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7925C5 #71C525
analogous
#2925C5 #7925C5 #C525C1
triadic
#7925C5 #C57925 #25C579
tetradic
#7925C5 #C52925 #71C525 #25C1C5
square
#7925C5 #C52925 #71C525 #25C1C5
split-complementary
#7925C5 #C1C525 #25C529
monochromatic
#3A125E #591B91 #7925C5 #974ADD #B57EE7

Accessibility & contrast

On white

7.28
#7925C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7925C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7925C5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7925C5#FFFFFF#000000##FFFFFF
##7925C51.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#685277
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7925c5;
/* rgb */ color: rgb(121, 37, 197);
/* oklch */ color: oklch(48.4% 0.225 301.9);
Tailwind
colors: {
  custom: {
    50: '#a76bd8',
    500: '#7925c5',
    950: '#000000',
  },
}
SCSS
$custom: #7925c5;
$custom-light: #a76bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7925c5",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 197
  },
  "hsl": {
    "h": 271.5,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4839,
    "c": 0.2253,
    "h": 301.9
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#7925C5
secondary
#A1CF77
accent
#EB3D90
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7925C5

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

Preview Lab → · Contrast checker → · Palette generator →

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