#7626AB#7626AB

#7626AB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.199 H 307.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7626AB
RGBrgb(118, 38, 171)
HSLhsl(276, 64%, 41%)
HSVhsv(276, 78%, 67%)
CMYKcmyk(31%, 77.8%, 0%, 32.9%)
CIE-LABlab(34.35, 56.22, -55.56)
CIE-LCHlch(34.35, 79.04, 315.33°)
OKLaboklab(45.95% 0.1209 -0.158)
OKLCHoklch(45.95% 0.199 307.4)
XYZxyz(15.5134, 8.1783, 39.2815)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626AB #5BAB26
analogous
#3326AB #7626AB #AB269D
triadic
#7626AB #AB7626 #26AB76
tetradic
#7626AB #AB3326 #5BAB26 #269DAB
square
#7626AB #AB3326 #5BAB26 #269DAB
split-complementary
#7626AB #9DAB26 #26AB33
monochromatic
#311047 #531B79 #7626AB #973BD3 #B16DDF

Accessibility & contrast

On white

7.97
#7626AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7626AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626AB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626AB#FFFFFF#000000##FFFFFF
##7626AB1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#6D4868
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7626ab;
/* rgb */ color: rgb(118, 38, 171);
/* oklch */ color: oklch(45.9% 0.199 307.4);
Tailwind
colors: {
  custom: {
    50: '#a36ac5',
    500: '#7626ab',
    950: '#000000',
  },
}
SCSS
$custom: #7626ab;
$custom-light: #a36ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7626ab",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 276.09,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.19891,
    "h": 307.4
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#7626AB
secondary
#8DC568
accent
#E74183
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7626AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7626AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva