#7826AA#7826AA

#7826AA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.198 H 308.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7826AA
RGBrgb(120, 38, 170)
HSLhsl(277, 63%, 41%)
HSVhsv(277, 78%, 67%)
CMYKcmyk(29.4%, 77.6%, 0%, 33.3%)
CIE-LABlab(34.56, 56.36, -54.61)
CIE-LCHlch(34.56, 78.47, 315.90°)
OKLaboklab(46.13% 0.1239 -0.1551)
OKLCHoklch(46.13% 0.198 308.6)
XYZxyz(15.6930, 8.2818, 38.7943)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826AA #58AA26
analogous
#3626AA #7826AA #AA269A
triadic
#7826AA #AA7826 #26AA78
tetradic
#7826AA #AA3626 #58AA26 #269AAA
square
#7826AA #AA3626 #58AA26 #269AAA
split-complementary
#7826AA #9AAA26 #26AA36
monochromatic
#311046 #551B78 #7826AA #993AD3 #B36CDE

Accessibility & contrast

On white

7.91
#7826AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7826AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7826AA#FFFFFF#000000##FFFFFF
##7826AA1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#704767
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7826aa;
/* rgb */ color: rgb(120, 38, 170);
/* oklch */ color: oklch(46.1% 0.198 308.6);
Tailwind
colors: {
  custom: {
    50: '#a46ac4',
    500: '#7826aa',
    950: '#000000',
  },
}
SCSS
$custom: #7826aa;
$custom-light: #a46ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7826aa",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 277.273,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.19848,
    "h": 308.6
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#7826AA
secondary
#8BC567
accent
#E64180
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7826AA

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

Preview Lab → · Contrast checker → · Palette generator →

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