#7826C5#7826C5

#7826C5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.224 H 301.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7826C5
RGBrgb(120, 38, 197)
HSLhsl(271, 68%, 46%)
HSVhsv(271, 81%, 77%)
CMYKcmyk(39.1%, 80.7%, 0%, 22.7%)
CIE-LABlab(36.76, 62.42, -67.00)
CIE-LCHlch(36.76, 91.57, 312.97°)
OKLaboklab(48.35% 0.1168 -0.1915)
OKLCHoklch(48.35% 0.224 301.4)
XYZxyz(18.5144, 9.4104, 53.6535)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826C5 #73C526
analogous
#2826C5 #7826C5 #C526C2
triadic
#7826C5 #C57826 #26C578
tetradic
#7826C5 #C52826 #73C526 #26C2C5
square
#7826C5 #C52826 #73C526 #26C2C5
split-complementary
#7826C5 #C2C526 #26C528
monochromatic
#39125E #591C92 #7826C5 #964CDC #B47FE6

Accessibility & contrast

On white

7.29
#7826C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7826C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826C5
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826C5#FFFFFF#000000##FFFFFF
##7826C51.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#675377
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7826c5;
/* rgb */ color: rgb(120, 38, 197);
/* oklch */ color: oklch(48.4% 0.224 301.4);
Tailwind
colors: {
  custom: {
    50: '#a66bd8',
    500: '#7826c5',
    950: '#000000',
  },
}
SCSS
$custom: #7826c5;
$custom-light: #a66bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7826c5",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 270.943,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4835,
    "c": 0.22428,
    "h": 301.4
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

primary
#7826C5
secondary
#A2CF78
accent
#EB3D91
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7826C5

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

Preview Lab → · Contrast checker → · Palette generator →

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