#7925A8#7925A8

#7925A8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.198 H 309.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7925A8
RGBrgb(121, 37, 168)
HSLhsl(278, 64%, 40%)
HSVhsv(278, 78%, 66%)
CMYKcmyk(28%, 78%, 0%, 34.1%)
CIE-LABlab(34.43, 56.47, -53.62)
CIE-LCHlch(34.43, 77.87, 316.48°)
OKLaboklab(46.02% 0.1265 -0.1521)
OKLCHoklch(46.02% 0.198 309.8)
XYZxyz(15.6132, 8.2156, 37.8015)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7925A8 #54A825
analogous
#3725A8 #7925A8 #A82596
triadic
#7925A8 #A87925 #25A879
tetradic
#7925A8 #A83725 #54A825 #2596A8
square
#7925A8 #A83725 #54A825 #2596A8
split-complementary
#7925A8 #96A825 #25A837
monochromatic
#310F44 #551A76 #7925A8 #9B37D3 #B469DE

Accessibility & contrast

On white

7.95
#7925A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7925A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7925A8
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7925A8#FFFFFF#000000##FFFFFF
##7925A81.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#724566
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7925a8;
/* rgb */ color: rgb(121, 37, 168);
/* oklch */ color: oklch(46.0% 0.198 309.8);
Tailwind
colors: {
  custom: {
    50: '#a569c3',
    500: '#7925a8',
    950: '#000000',
  },
}
SCSS
$custom: #7925a8;
$custom-light: #a569c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7925a8",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 278.473,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46019,
    "c": 0.19789,
    "h": 309.8
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#7925A8
secondary
#87C465
accent
#E7417C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7925A8

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

Preview Lab → · Contrast checker → · Palette generator →

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