#7628A6#7628A6

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

Color values

HEX#7628A6
RGBrgb(118, 40, 166)
HSLhsl(277, 61%, 40%)
HSVhsv(277, 76%, 65%)
CMYKcmyk(28.9%, 75.9%, 0%, 34.9%)
CIE-LABlab(34.24, 54.33, -52.75)
CIE-LCHlch(34.24, 75.73, 315.85°)
OKLaboklab(45.75% 0.1202 -0.1497)
OKLCHoklch(45.75% 0.192 308.8)
XYZxyz(15.1115, 8.1226, 36.8407)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628A6 #58A628
analogous
#3728A6 #7628A6 #A62897
triadic
#7628A6 #A67628 #28A676
tetradic
#7628A6 #A63728 #58A628 #2897A6
square
#7628A6 #A63728 #58A628 #2897A6
split-complementary
#7628A6 #97A628 #28A637
monochromatic
#301043 #531C75 #7628A6 #973BD0 #B16DDC

Accessibility & contrast

On white

8.00
#7628A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7628A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628A6
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628A6#FFFFFF#000000##FFFFFF
##7628A61.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7628a6;
/* rgb */ color: rgb(118, 40, 166);
/* oklch */ color: oklch(45.7% 0.192 308.8);
Tailwind
colors: {
  custom: {
    50: '#a26ac1',
    500: '#7628a6',
    950: '#000000',
  },
}
SCSS
$custom: #7628a6;
$custom-light: #a26ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#7628a6",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 277.143,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.19196,
    "h": 308.8
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#7628A6
secondary
#8AC267
accent
#E44481
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7628A6

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

Preview Lab → · Contrast checker → · Palette generator →

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