#7826C4#7826C4

#7826C4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.3% C 0.223 H 301.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7826C4
RGBrgb(120, 38, 196)
HSLhsl(271, 68%, 46%)
HSVhsv(271, 81%, 77%)
CMYKcmyk(38.8%, 80.6%, 0%, 23.1%)
CIE-LABlab(36.68, 62.19, -66.56)
CIE-LCHlch(36.68, 91.09, 313.06°)
OKLaboklab(48.26% 0.1171 -0.1902)
OKLCHoklch(48.26% 0.223 301.6)
XYZxyz(18.4002, 9.3647, 53.0520)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826C4 #72C426
analogous
#2926C4 #7826C4 #C426C1
triadic
#7826C4 #C47826 #26C478
tetradic
#7826C4 #C42926 #72C426 #26C1C4
square
#7826C4 #C42926 #72C426 #26C1C4
split-complementary
#7826C4 #C1C426 #26C429
monochromatic
#39125D #591C91 #7826C4 #964BDC #B47EE6

Accessibility & contrast

On white

7.31
#7826C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7826C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826C4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826C4#FFFFFF#000000##FFFFFF
##7826C41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#675276
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7826c4;
/* rgb */ color: rgb(120, 38, 196);
/* oklch */ color: oklch(48.3% 0.223 301.6);
Tailwind
colors: {
  custom: {
    50: '#a66bd7',
    500: '#7826c4',
    950: '#000000',
  },
}
SCSS
$custom: #7826c4;
$custom-light: #a66bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7826c4",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 196
  },
  "hsl": {
    "h": 271.139,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48264,
    "c": 0.22333,
    "h": 301.6
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#7826C4
secondary
#A1CE77
accent
#EA3D91
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7826C4

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

Preview Lab → · Contrast checker → · Palette generator →

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