#7826AC#7826AC

#7826AC is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.200 H 308.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7826AC
RGBrgb(120, 38, 172)
HSLhsl(277, 64%, 41%)
HSVhsv(277, 78%, 67%)
CMYKcmyk(30.2%, 77.9%, 0%, 32.5%)
CIE-LABlab(34.72, 56.80, -55.55)
CIE-LCHlch(34.72, 79.45, 315.63°)
OKLaboklab(46.29% 0.1234 -0.1579)
OKLCHoklch(46.29% 0.2 308)
XYZxyz(15.8837, 8.3581, 39.7982)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826AC #5AAC26
analogous
#3526AC #7826AC #AC269D
triadic
#7826AC #AC7826 #26AC78
tetradic
#7826AC #AC3526 #5AAC26 #269DAC
square
#7826AC #AC3526 #5AAC26 #269DAC
split-complementary
#7826AC #9DAC26 #26AC35
monochromatic
#321048 #551B7A #7826AC #993BD4 #B36EDF

Accessibility & contrast

On white

7.86
#7826AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7826AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7826AC#FFFFFF#000000##FFFFFF
##7826AC1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#704868
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7826ac;
/* rgb */ color: rgb(120, 38, 172);
/* oklch */ color: oklch(46.3% 0.200 308.0);
Tailwind
colors: {
  custom: {
    50: '#a46ac6',
    500: '#7826ac',
    950: '#000000',
  },
}
SCSS
$custom: #7826ac;
$custom-light: #a46ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7826ac",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 276.716,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46289,
    "c": 0.20039,
    "h": 308
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#7826AC
secondary
#8CC568
accent
#E74181
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7826AC

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

Preview Lab → · Contrast checker → · Palette generator →

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