#7626AA#7626AA

#7626AA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.9% C 0.198 H 307.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7626AA
RGBrgb(118, 38, 170)
HSLhsl(276, 63%, 41%)
HSVhsv(276, 78%, 67%)
CMYKcmyk(30.6%, 77.6%, 0%, 33.3%)
CIE-LABlab(34.27, 56.00, -55.09)
CIE-LCHlch(34.27, 78.55, 315.47°)
OKLaboklab(45.87% 0.1211 -0.1566)
OKLCHoklch(45.87% 0.198 307.7)
XYZxyz(15.4185, 8.1403, 38.7814)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626AA #5AAA26
analogous
#3426AA #7626AA #AA269C
triadic
#7626AA #AA7626 #26AA76
tetradic
#7626AA #AA3426 #5AAA26 #269CAA
square
#7626AA #AA3426 #5AAA26 #269CAA
split-complementary
#7626AA #9CAA26 #26AA34
monochromatic
#311046 #531B78 #7626AA #973AD3 #B16CDE

Accessibility & contrast

On white

7.99
#7626AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7626AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7626AA#FFFFFF#000000##FFFFFF
##7626AA1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#6D4767
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7626aa;
/* rgb */ color: rgb(118, 38, 170);
/* oklch */ color: oklch(45.9% 0.198 307.7);
Tailwind
colors: {
  custom: {
    50: '#a36ac4',
    500: '#7626aa',
    950: '#000000',
  },
}
SCSS
$custom: #7626aa;
$custom-light: #a36ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7626aa",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 276.364,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45868,
    "c": 0.19795,
    "h": 307.7
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#7626AA
secondary
#8CC567
accent
#E64182
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7626AA

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

Preview Lab → · Contrast checker → · Palette generator →

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