#7826B7#7826B7

#7826B7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.211 H 304.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7826B7
RGBrgb(120, 38, 183)
HSLhsl(274, 66%, 43%)
HSVhsv(274, 79%, 72%)
CMYKcmyk(34.4%, 79.2%, 0%, 28.2%)
CIE-LABlab(35.59, 59.24, -60.67)
CIE-LCHlch(35.59, 84.80, 314.32°)
OKLaboklab(47.17% 0.1208 -0.1729)
OKLCHoklch(47.17% 0.211 304.9)
XYZxyz(16.9841, 8.7983, 45.5940)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826B7 #65B726
analogous
#2F26B7 #7826B7 #B726AD
triadic
#7826B7 #B77826 #26B778
tetradic
#7826B7 #B72F26 #65B726 #26ADB7
square
#7826B7 #B72F26 #65B726 #26ADB7
split-complementary
#7826B7 #ADB726 #26B72F
monochromatic
#361152 #571B84 #7826B7 #9742D8 #B375E2

Accessibility & contrast

On white

7.61
#7826B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7826B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826B7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826B7#FFFFFF#000000##FFFFFF
##7826B71.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#6C4C6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7826b7;
/* rgb */ color: rgb(120, 38, 183);
/* oklch */ color: oklch(47.2% 0.211 304.9);
Tailwind
colors: {
  custom: {
    50: '#a56bce',
    500: '#7826b7',
    950: '#000000',
  },
}
SCSS
$custom: #7826b7;
$custom-light: #a56bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7826b7",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 273.931,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47174,
    "c": 0.2109,
    "h": 304.9
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#7826B7
secondary
#96CA6F
accent
#E93F89
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7826B7

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

Preview Lab → · Contrast checker → · Palette generator →

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