#7826B6#7826B6

#7826B6 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.210 H 305.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7826B6
RGBrgb(120, 38, 182)
HSLhsl(274, 65%, 43%)
HSVhsv(274, 79%, 71%)
CMYKcmyk(34.1%, 79.1%, 0%, 28.6%)
CIE-LABlab(35.51, 59.02, -60.21)
CIE-LCHlch(35.51, 84.31, 314.42°)
OKLaboklab(47.09% 0.121 -0.1716)
OKLCHoklch(47.09% 0.21 305.2)
XYZxyz(16.8804, 8.7568, 45.0478)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826B6 #64B626
analogous
#3026B6 #7826B6 #B626AC
triadic
#7826B6 #B67826 #26B678
tetradic
#7826B6 #B63026 #64B626 #26ACB6
square
#7826B6 #B63026 #64B626 #26ACB6
split-complementary
#7826B6 #ACB626 #26B630
monochromatic
#351151 #571B83 #7826B6 #9742D7 #B374E2

Accessibility & contrast

On white

7.63
#7826B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7826B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826B6
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826B6#FFFFFF#000000##FFFFFF
##7826B61.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#6C4C6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7826b6;
/* rgb */ color: rgb(120, 38, 182);
/* oklch */ color: oklch(47.1% 0.210 305.2);
Tailwind
colors: {
  custom: {
    50: '#a56acd',
    500: '#7826b6',
    950: '#000000',
  },
}
SCSS
$custom: #7826b6;
$custom-light: #a56acd;
$custom-dark: #000000;
JSON
{
  "hex": "#7826b6",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 274.167,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47093,
    "c": 0.20994,
    "h": 305.2
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#7826B6
secondary
#96C96E
accent
#E83F88
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7826B6

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

Preview Lab → · Contrast checker → · Palette generator →

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