#7628A7#7628A7

#7628A7 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.193 H 308.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7628A7
RGBrgb(118, 40, 167)
HSLhsl(277, 61%, 41%)
HSVhsv(277, 76%, 65%)
CMYKcmyk(29.3%, 76%, 0%, 34.5%)
CIE-LABlab(34.31, 54.55, -53.23)
CIE-LCHlch(34.31, 76.22, 315.70°)
OKLaboklab(45.82% 0.12 -0.1511)
OKLCHoklch(45.82% 0.193 308.4)
XYZxyz(15.2036, 8.1594, 37.3257)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628A7 #59A728
analogous
#3628A7 #7628A7 #A72899
triadic
#7628A7 #A77628 #28A776
tetradic
#7628A7 #A73628 #59A728 #2899A7
square
#7628A7 #A73628 #59A728 #2899A7
split-complementary
#7628A7 #99A728 #28A736
monochromatic
#301044 #531C76 #7628A7 #973CD0 #B16DDC

Accessibility & contrast

On white

7.98
#7628A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7628A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628A7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628A7#FFFFFF#000000##FFFFFF
##7628A71.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#6E4766
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7628a7;
/* rgb */ color: rgb(118, 40, 167);
/* oklch */ color: oklch(45.8% 0.193 308.4);
Tailwind
colors: {
  custom: {
    50: '#a26ac2',
    500: '#7628a7',
    950: '#000000',
  },
}
SCSS
$custom: #7628a7;
$custom-light: #a26ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#7628a7",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 276.85,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45824,
    "c": 0.19294,
    "h": 308.4
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#7628A7
secondary
#8BC368
accent
#E44382
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7628A7

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

Preview Lab → · Contrast checker → · Palette generator →

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