#7626AC#7626AC

#7626AC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.200 H 307.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7626AC
RGBrgb(118, 38, 172)
HSLhsl(276, 64%, 41%)
HSVhsv(276, 78%, 67%)
CMYKcmyk(31.4%, 77.9%, 0%, 32.5%)
CIE-LABlab(34.43, 56.44, -56.04)
CIE-LCHlch(34.43, 79.53, 315.21°)
OKLaboklab(46.03% 0.1207 -0.1593)
OKLCHoklch(46.03% 0.2 307.1)
XYZxyz(15.6091, 8.2165, 39.7854)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626AC #5CAC26
analogous
#3326AC #7626AC #AC269F
triadic
#7626AC #AC7626 #26AC76
tetradic
#7626AC #AC3326 #5CAC26 #269FAC
square
#7626AC #AC3326 #5CAC26 #269FAC
split-complementary
#7626AC #9FAC26 #26AC33
monochromatic
#311048 #541B7A #7626AC #963BD4 #B16EDF

Accessibility & contrast

On white

7.94
#7626AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7626AC#FFFFFF#000000##FFFFFF
##7626AC1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#6D4868
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7626ac;
/* rgb */ color: rgb(118, 38, 172);
/* oklch */ color: oklch(46.0% 0.200 307.1);
Tailwind
colors: {
  custom: {
    50: '#a36ac6',
    500: '#7626ac',
    950: '#000000',
  },
}
SCSS
$custom: #7626ac;
$custom-light: #a36ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7626ac",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 275.821,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46027,
    "c": 0.19987,
    "h": 307.1
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#7626AC
secondary
#8EC568
accent
#E74184
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7626AC

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

Preview Lab → · Contrast checker → · Palette generator →

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