#7826A3#7826A3

#7826A3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.192 H 310.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7826A3
RGBrgb(120, 38, 163)
HSLhsl(279, 62%, 39%)
HSVhsv(279, 77%, 64%)
CMYKcmyk(26.4%, 76.7%, 0%, 36.1%)
CIE-LABlab(34.03, 54.83, -51.26)
CIE-LCHlch(34.03, 75.06, 316.93°)
OKLaboklab(45.59% 0.1253 -0.1452)
OKLCHoklch(45.59% 0.192 310.8)
XYZxyz(15.0484, 8.0240, 35.3993)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826A3 #51A326
analogous
#3A26A3 #7826A3 #A32690
triadic
#7826A3 #A37826 #26A378
tetradic
#7826A3 #A33A26 #51A326 #2690A3
square
#7826A3 #A33A26 #51A326 #2690A3
split-complementary
#7826A3 #90A326 #26A33A
monochromatic
#2F0F40 #531A71 #7826A3 #9B36D0 #B468DC

Accessibility & contrast

On white

8.06
#7826A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7826A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7826A3#FFFFFF#000000##FFFFFF
##7826A31.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0751A0
Tritanopia (blue-blind)
#724463
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7826a3;
/* rgb */ color: rgb(120, 38, 163);
/* oklch */ color: oklch(45.6% 0.192 310.8);
Tailwind
colors: {
  custom: {
    50: '#a36abf',
    500: '#7826a3',
    950: '#000000',
  },
}
SCSS
$custom: #7826a3;
$custom-light: #a36abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7826a3",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 279.36,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.19182,
    "h": 310.8
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#7826A3
secondary
#84C263
accent
#E5437B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7826A3

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

Preview Lab → · Contrast checker → · Palette generator →

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