#7826B3#7826B3

#7826B3 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.207 H 306.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7826B3
RGBrgb(120, 38, 179)
HSLhsl(275, 65%, 43%)
HSVhsv(275, 79%, 70%)
CMYKcmyk(33%, 78.8%, 0%, 29.8%)
CIE-LABlab(35.27, 58.35, -58.83)
CIE-LCHlch(35.27, 82.86, 314.76°)
OKLaboklab(46.85% 0.1218 -0.1675)
OKLCHoklch(46.85% 0.207 306)
XYZxyz(16.5737, 8.6341, 43.4325)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826B3 #61B326
analogous
#3226B3 #7826B3 #B326A7
triadic
#7826B3 #B37826 #26B378
tetradic
#7826B3 #B33226 #61B326 #26A7B3
square
#7826B3 #B33226 #61B326 #26A7B3
split-complementary
#7826B3 #A7B326 #26B332
monochromatic
#34114E #561B81 #7826B3 #9740D6 #B372E1

Accessibility & contrast

On white

7.70
#7826B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7826B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826B3
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826B3#FFFFFF#000000##FFFFFF
##7826B31.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#6D4B6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7826b3;
/* rgb */ color: rgb(120, 38, 179);
/* oklch */ color: oklch(46.8% 0.207 306.0);
Tailwind
colors: {
  custom: {
    50: '#a56acb',
    500: '#7826b3',
    950: '#000000',
  },
}
SCSS
$custom: #7826b3;
$custom-light: #a56acb;
$custom-dark: #000000;
JSON
{
  "hex": "#7826b3",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 274.894,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46848,
    "c": 0.20707,
    "h": 306
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#7826B3
secondary
#93C86D
accent
#E84086
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7826B3

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

Preview Lab → · Contrast checker → · Palette generator →

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