#7826C7#7826C7

#7826C7 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.226 H 300.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7826C7
RGBrgb(120, 38, 199)
HSLhsl(271, 68%, 46%)
HSVhsv(271, 81%, 78%)
CMYKcmyk(39.7%, 80.9%, 0%, 22%)
CIE-LABlab(36.93, 62.87, -67.89)
CIE-LCHlch(36.93, 92.53, 312.80°)
OKLaboklab(48.52% 0.1162 -0.1941)
OKLCHoklch(48.52% 0.226 300.9)
XYZxyz(18.7451, 9.5027, 54.8684)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826C7 #75C726
analogous
#2826C7 #7826C7 #C726C6
triadic
#7826C7 #C77826 #26C778
tetradic
#7826C7 #C72826 #75C726 #26C6C7
square
#7826C7 #C72826 #75C726 #26C6C7
split-complementary
#7826C7 #C6C726 #26C728
monochromatic
#3A1260 #591C94 #7826C7 #964DDD #B581E7

Accessibility & contrast

On white

7.24
#7826C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7826C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826C7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826C7#FFFFFF#000000##FFFFFF
##7826C71.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#665478
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7826c7;
/* rgb */ color: rgb(120, 38, 199);
/* oklch */ color: oklch(48.5% 0.226 300.9);
Tailwind
colors: {
  custom: {
    50: '#a66bd9',
    500: '#7826c7',
    950: '#000000',
  },
}
SCSS
$custom: #7826c7;
$custom-light: #a66bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7826c7",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 270.559,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.2262,
    "h": 300.9
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#7826C7
secondary
#A4CF79
accent
#EB3D92
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7826C7

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

Preview Lab → · Contrast checker → · Palette generator →

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