#7926AF#7926AF

#7926AF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.203 H 307.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7926AF
RGBrgb(121, 38, 175)
HSLhsl(276, 64%, 42%)
HSVhsv(276, 78%, 69%)
CMYKcmyk(30.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(35.10, 57.63, -56.72)
CIE-LCHlch(35.10, 80.87, 315.46°)
OKLaboklab(46.66% 0.1241 -0.1613)
OKLCHoklch(46.66% 0.204 307.6)
XYZxyz(16.3145, 8.5465, 41.3393)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7926AF #5CAF26
analogous
#3426AF #7926AF #AF26A1
triadic
#7926AF #AF7926 #26AF79
tetradic
#7926AF #AF3426 #5CAF26 #26A1AF
square
#7926AF #AF3426 #5CAF26 #26A1AF
split-complementary
#7926AF #A1AF26 #26AF34
monochromatic
#33104A #561B7D #7926AF #993DD5 #B470E0

Accessibility & contrast

On white

7.75
#7926AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7926AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7926AF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7926AF#FFFFFF#000000##FFFFFF
##7926AF1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#70496A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7926af;
/* rgb */ color: rgb(121, 38, 175);
/* oklch */ color: oklch(46.7% 0.203 307.6);
Tailwind
colors: {
  custom: {
    50: '#a56ac8',
    500: '#7926af',
    950: '#000000',
  },
}
SCSS
$custom: #7926af;
$custom-light: #a56ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7926af",
  "rgb": {
    "r": 121,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 276.35,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46658,
    "c": 0.2035,
    "h": 307.6
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#7926AF
secondary
#8FC76A
accent
#E74082
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7926AF

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

Preview Lab → · Contrast checker → · Palette generator →

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