#7826A6#7826A6

#7826A6 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.195 H 309.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7826A6
RGBrgb(120, 38, 166)
HSLhsl(278, 63%, 40%)
HSVhsv(278, 77%, 65%)
CMYKcmyk(27.7%, 77.1%, 0%, 34.9%)
CIE-LABlab(34.26, 55.48, -52.70)
CIE-LCHlch(34.26, 76.52, 316.47°)
OKLaboklab(45.82% 0.1247 -0.1495)
OKLCHoklch(45.82% 0.195 309.8)
XYZxyz(15.3204, 8.1328, 36.8317)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826A6 #54A626
analogous
#3826A6 #7826A6 #A62694
triadic
#7826A6 #A67826 #26A678
tetradic
#7826A6 #A63826 #54A626 #2694A6
square
#7826A6 #A63826 #54A626 #2694A6
split-complementary
#7826A6 #94A626 #26A638
monochromatic
#300F42 #541B74 #7826A6 #9A38D1 #B36ADD

Accessibility & contrast

On white

8.00
#7826A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7826A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826A6
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826A6#FFFFFF#000000##FFFFFF
##7826A61.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#714565
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7826a6;
/* rgb */ color: rgb(120, 38, 166);
/* oklch */ color: oklch(45.8% 0.195 309.8);
Tailwind
colors: {
  custom: {
    50: '#a46ac1',
    500: '#7826a6',
    950: '#000000',
  },
}
SCSS
$custom: #7826a6;
$custom-light: #a46ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#7826a6",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 278.438,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.45822,
    "c": 0.19468,
    "h": 309.8
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#7826A6
secondary
#87C365
accent
#E6427D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7826A6

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

Preview Lab → · Contrast checker → · Palette generator →

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