#7626A6#7626A6

#7626A6 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.194 H 308.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7626A6
RGBrgb(118, 38, 166)
HSLhsl(278, 63%, 40%)
HSVhsv(278, 77%, 65%)
CMYKcmyk(28.9%, 77.1%, 0%, 34.9%)
CIE-LABlab(33.96, 55.11, -53.19)
CIE-LCHlch(33.96, 76.59, 316.02°)
OKLaboklab(45.56% 0.122 -0.151)
OKLCHoklch(45.56% 0.194 308.9)
XYZxyz(15.0459, 7.9912, 36.8189)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626A6 #56A626
analogous
#3626A6 #7626A6 #A62696
triadic
#7626A6 #A67626 #26A676
tetradic
#7626A6 #A63626 #56A626 #2696A6
square
#7626A6 #A63626 #56A626 #2696A6
split-complementary
#7626A6 #96A626 #26A636
monochromatic
#2F0F42 #531B74 #7626A6 #9838D1 #B26ADD

Accessibility & contrast

On white

8.08
#7626A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7626A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7626A6#FFFFFF#000000##FFFFFF
##7626A61.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#6F4565
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7626a6;
/* rgb */ color: rgb(118, 38, 166);
/* oklch */ color: oklch(45.6% 0.194 308.9);
Tailwind
colors: {
  custom: {
    50: '#a269c1',
    500: '#7626a6',
    950: '#000000',
  },
}
SCSS
$custom: #7626a6;
$custom-light: #a269c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7626a6",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 277.5,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.45555,
    "c": 0.19411,
    "h": 308.9
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#7626A6
secondary
#88C365
accent
#E6427F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7626A6

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

Preview Lab → · Contrast checker → · Palette generator →

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