#7826A2#7826A2

#7826A2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.191 H 311.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7826A2
RGBrgb(120, 38, 162)
HSLhsl(280, 62%, 39%)
HSVhsv(280, 77%, 64%)
CMYKcmyk(25.9%, 76.5%, 0%, 36.5%)
CIE-LABlab(33.96, 54.62, -50.78)
CIE-LCHlch(33.96, 74.57, 317.09°)
OKLaboklab(45.52% 0.1255 -0.1438)
OKLCHoklch(45.52% 0.191 311.1)
XYZxyz(14.9592, 7.9883, 34.9293)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826A2 #50A226
analogous
#3A26A2 #7826A2 #A2268E
triadic
#7826A2 #A27826 #26A278
tetradic
#7826A2 #A23A26 #50A226 #268EA2
square
#7826A2 #A23A26 #50A226 #268EA2
split-complementary
#7826A2 #8EA226 #26A23A
monochromatic
#2F0F3F #531A70 #7826A2 #9B35D0 #B467DB

Accessibility & contrast

On white

8.08
#7826A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7826A2#FFFFFF#000000##FFFFFF
##7826A21.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0B519F
Tritanopia (blue-blind)
#724363
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7826a2;
/* rgb */ color: rgb(120, 38, 162);
/* oklch */ color: oklch(45.5% 0.191 311.1);
Tailwind
colors: {
  custom: {
    50: '#a369be',
    500: '#7826a2',
    950: '#000000',
  },
}
SCSS
$custom: #7826a2;
$custom-light: #a369be;
$custom-dark: #000000;
JSON
{
  "hex": "#7826a2",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 279.677,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45517,
    "c": 0.19087,
    "h": 311.1
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#7826A2
secondary
#83C163
accent
#E5437A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7826A2

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

Preview Lab → · Contrast checker → · Palette generator →

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