#7826A4#7826A4

#7826A4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.193 H 310.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7826A4
RGBrgb(120, 38, 164)
HSLhsl(279, 62%, 40%)
HSVhsv(279, 77%, 64%)
CMYKcmyk(26.8%, 76.8%, 0%, 35.7%)
CIE-LABlab(34.11, 55.05, -51.74)
CIE-LCHlch(34.11, 75.55, 316.77°)
OKLaboklab(45.67% 0.1251 -0.1466)
OKLCHoklch(45.67% 0.193 310.5)
XYZxyz(15.1384, 8.0600, 35.8730)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826A4 #52A426
analogous
#3926A4 #7826A4 #A42691
triadic
#7826A4 #A47826 #26A478
tetradic
#7826A4 #A43926 #52A426 #2691A4
square
#7826A4 #A43926 #52A426 #2691A4
split-complementary
#7826A4 #91A426 #26A439
monochromatic
#2F0F41 #541A72 #7826A4 #9B37D1 #B468DC

Accessibility & contrast

On white

8.04
#7826A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7826A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826A4
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826A4#FFFFFF#000000##FFFFFF
##7826A41.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0351A1
Tritanopia (blue-blind)
#724464
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7826a4;
/* rgb */ color: rgb(120, 38, 164);
/* oklch */ color: oklch(45.7% 0.193 310.5);
Tailwind
colors: {
  custom: {
    50: '#a46ac0',
    500: '#7826a4',
    950: '#000000',
  },
}
SCSS
$custom: #7826a4;
$custom-light: #a46ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7826a4",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 279.048,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45669,
    "c": 0.19277,
    "h": 310.5
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#7826A4
secondary
#85C264
accent
#E5427B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7826A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7826A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva