#7826AD#7826AD

#7826AD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.201 H 307.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7826AD
RGBrgb(120, 38, 173)
HSLhsl(276, 64%, 41%)
HSVhsv(276, 78%, 68%)
CMYKcmyk(30.6%, 78%, 0%, 32.2%)
CIE-LABlab(34.80, 57.02, -56.02)
CIE-LCHlch(34.80, 79.93, 315.50°)
OKLaboklab(46.37% 0.1232 -0.1592)
OKLCHoklch(46.37% 0.201 307.7)
XYZxyz(15.9801, 8.3967, 40.3059)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826AD #5BAD26
analogous
#3426AD #7826AD #AD269F
triadic
#7826AD #AD7826 #26AD78
tetradic
#7826AD #AD3426 #5BAD26 #269FAD
square
#7826AD #AD3426 #5BAD26 #269FAD
split-complementary
#7826AD #9FAD26 #26AD34
monochromatic
#321049 #551B7B #7826AD #983CD4 #B36EDF

Accessibility & contrast

On white

7.84
#7826AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7826AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7826AD#FFFFFF#000000##FFFFFF
##7826AD1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#6F4869
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7826ad;
/* rgb */ color: rgb(120, 38, 173);
/* oklch */ color: oklch(46.4% 0.201 307.7);
Tailwind
colors: {
  custom: {
    50: '#a46ac6',
    500: '#7826ad',
    950: '#000000',
  },
}
SCSS
$custom: #7826ad;
$custom-light: #a46ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7826ad",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 276.444,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46368,
    "c": 0.20134,
    "h": 307.7
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#7826AD
secondary
#8DC669
accent
#E74182
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7826AD

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

Preview Lab → · Contrast checker → · Palette generator →

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