#7826AE#7826AE

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

Color values

HEX#7826AE
RGBrgb(120, 38, 174)
HSLhsl(276, 64%, 42%)
HSVhsv(276, 78%, 68%)
CMYKcmyk(31%, 78.2%, 0%, 31.8%)
CIE-LABlab(34.87, 57.24, -56.50)
CIE-LCHlch(34.87, 80.42, 315.37°)
OKLaboklab(46.45% 0.123 -0.1606)
OKLCHoklch(46.45% 0.202 307.4)
XYZxyz(16.0772, 8.4355, 40.8175)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826AE #5CAE26
analogous
#3426AE #7826AE #AE26A0
triadic
#7826AE #AE7826 #26AE78
tetradic
#7826AE #AE3426 #5CAE26 #26A0AE
square
#7826AE #AE3426 #5CAE26 #26A0AE
split-complementary
#7826AE #A0AE26 #26AE34
monochromatic
#33104A #551B7C #7826AE #983DD5 #B36FE0

Accessibility & contrast

On white

7.82
#7826AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7826AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826AE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826AE#FFFFFF#000000##FFFFFF
##7826AE1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#6F496A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7826ae;
/* rgb */ color: rgb(120, 38, 174);
/* oklch */ color: oklch(46.4% 0.202 307.4);
Tailwind
colors: {
  custom: {
    50: '#a46ac7',
    500: '#7826ae',
    950: '#000000',
  },
}
SCSS
$custom: #7826ae;
$custom-light: #a46ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7826ae",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 276.176,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.2023,
    "h": 307.4
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#7826AE
secondary
#8EC66A
accent
#E74183
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7826AE

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

Preview Lab → · Contrast checker → · Palette generator →

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