#7628A1#7628A1

#7628A1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.187 H 310.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7628A1
RGBrgb(118, 40, 161)
HSLhsl(279, 60%, 39%)
HSVhsv(279, 75%, 63%)
CMYKcmyk(26.7%, 75.2%, 0%, 36.9%)
CIE-LABlab(33.86, 53.23, -50.34)
CIE-LCHlch(33.86, 73.26, 316.60°)
OKLaboklab(45.37% 0.1211 -0.1426)
OKLCHoklch(45.37% 0.187 310.3)
XYZxyz(14.6618, 7.9427, 34.4720)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628A1 #53A128
analogous
#3A28A1 #7628A1 #A12890
triadic
#7628A1 #A17628 #28A176
tetradic
#7628A1 #A13A28 #53A128 #2890A1
square
#7628A1 #A13A28 #53A128 #2890A1
split-complementary
#7628A1 #90A128 #28A13A
monochromatic
#2E103F #521C70 #7628A1 #9939CE #B26ADA

Accessibility & contrast

On white

8.11
#7628A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7628A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628A1
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628A1#FFFFFF#000000##FFFFFF
##7628A11.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#0C519E
Tritanopia (blue-blind)
#704463
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7628a1;
/* rgb */ color: rgb(118, 40, 161);
/* oklch */ color: oklch(45.4% 0.187 310.3);
Tailwind
colors: {
  custom: {
    50: '#a26abe',
    500: '#7628a1',
    950: '#000000',
  },
}
SCSS
$custom: #7628a1;
$custom-light: #a26abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7628a1",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 278.678,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.18709,
    "h": 310.3
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#7628A1
secondary
#85C065
accent
#E3447D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7628A1

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

Preview Lab → · Contrast checker → · Palette generator →

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