#7928B7#7928B7

#7928B7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.209 H 305.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7928B7
RGBrgb(121, 40, 183)
HSLhsl(274, 64%, 44%)
HSVhsv(274, 78%, 72%)
CMYKcmyk(33.9%, 78.1%, 0%, 28.2%)
CIE-LABlab(35.99, 58.67, -60.03)
CIE-LCHlch(35.99, 83.94, 314.35°)
OKLaboklab(47.48% 0.1205 -0.171)
OKLCHoklch(47.48% 0.209 305.2)
XYZxyz(17.1893, 9.0015, 45.6225)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7928B7 #66B728
analogous
#3128B7 #7928B7 #B728AD
triadic
#7928B7 #B77928 #28B779
tetradic
#7928B7 #B73128 #66B728 #28ADB7
square
#7928B7 #B73128 #66B728 #28ADB7
split-complementary
#7928B7 #ADB728 #28B731
monochromatic
#371253 #581D85 #7928B7 #9846D6 #B478E1

Accessibility & contrast

On white

7.50
#7928B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7928B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7928B7
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7928B7#FFFFFF#000000##FFFFFF
##7928B71.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#6D4D6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7928b7;
/* rgb */ color: rgb(121, 40, 183);
/* oklch */ color: oklch(47.5% 0.209 305.2);
Tailwind
colors: {
  custom: {
    50: '#a66cce',
    500: '#7928b7',
    950: '#000000',
  },
}
SCSS
$custom: #7928b7;
$custom-light: #a66cce;
$custom-dark: #000000;
JSON
{
  "hex": "#7928b7",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 273.986,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4748,
    "c": 0.2092,
    "h": 305.2
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#7928B7
secondary
#98C972
accent
#E74189
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7928B7

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

Preview Lab → · Contrast checker → · Palette generator →

#7928B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva