#7627A6#7627A6

#7627A6 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.193 H 308.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7627A6
RGBrgb(118, 39, 166)
HSLhsl(277, 62%, 40%)
HSVhsv(277, 77%, 65%)
CMYKcmyk(28.9%, 76.5%, 0%, 34.9%)
CIE-LABlab(34.10, 54.73, -52.97)
CIE-LCHlch(34.10, 76.16, 315.93°)
OKLaboklab(45.65% 0.1211 -0.1504)
OKLCHoklch(45.65% 0.193 308.8)
XYZxyz(15.0783, 8.0560, 36.8297)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627A6 #57A627
analogous
#3727A6 #7627A6 #A62796
triadic
#7627A6 #A67627 #27A676
tetradic
#7627A6 #A63727 #57A627 #2796A6
square
#7627A6 #A63727 #57A627 #2796A6
split-complementary
#7627A6 #96A627 #27A637
monochromatic
#301043 #531B74 #7627A6 #983AD1 #B26BDC

Accessibility & contrast

On white

8.04
#7627A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7627A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7627A6
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627A6#FFFFFF#000000##FFFFFF
##7627A61.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7627a6;
/* rgb */ color: rgb(118, 39, 166);
/* oklch */ color: oklch(45.6% 0.193 308.8);
Tailwind
colors: {
  custom: {
    50: '#a26ac1',
    500: '#7627a6',
    950: '#000000',
  },
}
SCSS
$custom: #7627a6;
$custom-light: #a26ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#7627a6",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 277.323,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45649,
    "c": 0.19304,
    "h": 308.8
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#7627A6
secondary
#89C366
accent
#E54380
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7627A6

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

Preview Lab → · Contrast checker → · Palette generator →

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