#7628A4#7628A4

#7628A4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.190 H 309.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7628A4
RGBrgb(118, 40, 164)
HSLhsl(278, 61%, 40%)
HSVhsv(278, 76%, 64%)
CMYKcmyk(28%, 75.6%, 0%, 35.7%)
CIE-LABlab(34.09, 53.89, -51.79)
CIE-LCHlch(34.09, 74.74, 316.14°)
OKLaboklab(45.59% 0.1205 -0.1469)
OKLCHoklch(45.59% 0.19 309.4)
XYZxyz(14.9295, 8.0498, 35.8820)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628A4 #56A428
analogous
#3828A4 #7628A4 #A42894
triadic
#7628A4 #A47628 #28A476
tetradic
#7628A4 #A43828 #56A428 #2894A4
square
#7628A4 #A43828 #56A428 #2894A4
split-complementary
#7628A4 #94A428 #28A438
monochromatic
#2F1042 #531C73 #7628A4 #983ACF #B26BDB

Accessibility & contrast

On white

8.05
#7628A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7628A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628A4
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628A4#FFFFFF#000000##FFFFFF
##7628A41.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0151A1
Tritanopia (blue-blind)
#6F4564
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7628a4;
/* rgb */ color: rgb(118, 40, 164);
/* oklch */ color: oklch(45.6% 0.190 309.4);
Tailwind
colors: {
  custom: {
    50: '#a26ac0',
    500: '#7628a4',
    950: '#000000',
  },
}
SCSS
$custom: #7628a4;
$custom-light: #a26ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7628a4",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 277.742,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.45593,
    "c": 0.19001,
    "h": 309.4
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#7628A4
secondary
#88C166
accent
#E4447F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7628A4

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

Preview Lab → · Contrast checker → · Palette generator →

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