#7826B0#7826B0

#7826B0 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.204 H 306.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7826B0
RGBrgb(120, 38, 176)
HSLhsl(276, 64%, 42%)
HSVhsv(276, 78%, 69%)
CMYKcmyk(31.8%, 78.4%, 0%, 31%)
CIE-LABlab(35.03, 57.68, -57.43)
CIE-LCHlch(35.03, 81.40, 315.12°)
OKLaboklab(46.61% 0.1225 -0.1634)
OKLCHoklch(46.61% 0.204 306.9)
XYZxyz(16.2736, 8.5141, 41.8520)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826B0 #5EB026
analogous
#3326B0 #7826B0 #B026A3
triadic
#7826B0 #B07826 #26B078
tetradic
#7826B0 #B03326 #5EB026 #26A3B0
square
#7826B0 #B03326 #5EB026 #26A3B0
split-complementary
#7826B0 #A3B026 #26B033
monochromatic
#33104B #561B7E #7826B0 #983ED5 #B370E0

Accessibility & contrast

On white

7.77
#7826B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7826B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826B0
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826B0#FFFFFF#000000##FFFFFF
##7826B01.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#6E496B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7826b0;
/* rgb */ color: rgb(120, 38, 176);
/* oklch */ color: oklch(46.6% 0.204 306.9);
Tailwind
colors: {
  custom: {
    50: '#a46ac9',
    500: '#7826b0',
    950: '#000000',
  },
}
SCSS
$custom: #7826b0;
$custom-light: #a46ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7826b0",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 275.652,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46607,
    "c": 0.20421,
    "h": 306.9
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#7826B0
secondary
#90C76B
accent
#E74084
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7826B0

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

Preview Lab → · Contrast checker → · Palette generator →

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