#7626A4#7626A4

#7626A4 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.192 H 309.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7626A4
RGBrgb(118, 38, 164)
HSLhsl(278, 62%, 40%)
HSVhsv(278, 77%, 64%)
CMYKcmyk(28%, 76.8%, 0%, 35.7%)
CIE-LABlab(33.81, 54.67, -52.23)
CIE-LCHlch(33.81, 75.61, 316.31°)
OKLaboklab(45.4% 0.1224 -0.1482)
OKLCHoklch(45.4% 0.192 309.6)
XYZxyz(14.8638, 7.9184, 35.8602)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626A4 #54A426
analogous
#3726A4 #7626A4 #A42693
triadic
#7626A4 #A47626 #26A476
tetradic
#7626A4 #A43726 #54A426 #2693A4
square
#7626A4 #A43726 #54A426 #2693A4
split-complementary
#7626A4 #93A426 #26A437
monochromatic
#2E0F41 #521A72 #7626A4 #9837D1 #B268DC

Accessibility & contrast

On white

8.13
#7626A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7626A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7626A4#FFFFFF#000000##FFFFFF
##7626A41.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#6F4464
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7626a4;
/* rgb */ color: rgb(118, 38, 164);
/* oklch */ color: oklch(45.4% 0.192 309.6);
Tailwind
colors: {
  custom: {
    50: '#a269c0',
    500: '#7626a4',
    950: '#000000',
  },
}
SCSS
$custom: #7626a4;
$custom-light: #a269c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7626a4",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 278.095,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.454,
    "c": 0.19218,
    "h": 309.6
  },
  "luminance": 0.07918
}

Semantic roles & 50–950 ramp

primary
#7626A4
secondary
#86C264
accent
#E5427E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7626A4

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

Preview Lab → · Contrast checker → · Palette generator →

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