#7926C7#7926C7

#7926C7 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.6% C 0.226 H 301.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7926C7
RGBrgb(121, 38, 199)
HSLhsl(271, 68%, 46%)
HSVhsv(271, 81%, 78%)
CMYKcmyk(39.2%, 80.9%, 0%, 22%)
CIE-LABlab(37.07, 63.02, -67.66)
CIE-LCHlch(37.07, 92.47, 312.96°)
OKLaboklab(48.64% 0.1176 -0.1934)
OKLCHoklch(48.64% 0.226 301.3)
XYZxyz(18.8845, 9.5746, 54.8749)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7926C7 #74C726
analogous
#2926C7 #7926C7 #C726C5
triadic
#7926C7 #C77926 #26C779
tetradic
#7926C7 #C72926 #74C726 #26C5C7
square
#7926C7 #C72926 #74C726 #26C5C7
split-complementary
#7926C7 #C5C726 #26C729
monochromatic
#3B1260 #5A1C94 #7926C7 #974DDD #B581E7

Accessibility & contrast

On white

7.20
#7926C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7926C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7926C7
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7926C7#FFFFFF#000000##FFFFFF
##7926C71.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#675378
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7926c7;
/* rgb */ color: rgb(121, 38, 199);
/* oklch */ color: oklch(48.6% 0.226 301.3);
Tailwind
colors: {
  custom: {
    50: '#a76cd9',
    500: '#7926c7',
    950: '#000000',
  },
}
SCSS
$custom: #7926c7;
$custom-light: #a76cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7926c7",
  "rgb": {
    "r": 121,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 270.932,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48643,
    "c": 0.22636,
    "h": 301.3
  },
  "luminance": 0.09575
}

Semantic roles & 50–950 ramp

primary
#7926C7
secondary
#A3CF79
accent
#EB3D91
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7926C7

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

Preview Lab → · Contrast checker → · Palette generator →

#7926C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva