#7826A8#7826A8

#7826A8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.197 H 309.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7826A8
RGBrgb(120, 38, 168)
HSLhsl(278, 63%, 40%)
HSVhsv(278, 77%, 66%)
CMYKcmyk(28.6%, 77.4%, 0%, 34.1%)
CIE-LABlab(34.41, 55.92, -53.66)
CIE-LCHlch(34.41, 77.50, 316.18°)
OKLaboklab(45.98% 0.1243 -0.1523)
OKLCHoklch(45.98% 0.197 309.2)
XYZxyz(15.5053, 8.2067, 37.8054)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826A8 #56A826
analogous
#3726A8 #7826A8 #A82697
triadic
#7826A8 #A87826 #26A878
tetradic
#7826A8 #A83726 #56A826 #2697A8
square
#7826A8 #A83726 #56A826 #2697A8
split-complementary
#7826A8 #97A826 #26A837
monochromatic
#310F44 #541B76 #7826A8 #9A39D2 #B36BDE

Accessibility & contrast

On white

7.95
#7826A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7826A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7826A8#FFFFFF#000000##FFFFFF
##7826A81.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#714666
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7826a8;
/* rgb */ color: rgb(120, 38, 168);
/* oklch */ color: oklch(46.0% 0.197 309.2);
Tailwind
colors: {
  custom: {
    50: '#a46ac3',
    500: '#7826a8',
    950: '#000000',
  },
}
SCSS
$custom: #7826a8;
$custom-light: #a46ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7826a8",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 277.846,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45976,
    "c": 0.19658,
    "h": 309.2
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#7826A8
secondary
#89C466
accent
#E6427E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7826A8

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

Preview Lab → · Contrast checker → · Palette generator →

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