#7628A9#7628A9

#7628A9 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.195 H 307.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7628A9
RGBrgb(118, 40, 169)
HSLhsl(276, 62%, 41%)
HSVhsv(276, 76%, 66%)
CMYKcmyk(30.2%, 76.3%, 0%, 33.7%)
CIE-LABlab(34.47, 55.00, -54.18)
CIE-LCHlch(34.47, 77.20, 315.43°)
OKLaboklab(45.98% 0.1196 -0.1539)
OKLCHoklch(45.98% 0.195 307.8)
XYZxyz(15.3899, 8.2339, 38.3070)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628A9 #5BA928
analogous
#3528A9 #7628A9 #A9289B
triadic
#7628A9 #A97628 #28A976
tetradic
#7628A9 #A93528 #5BA928 #289BA9
square
#7628A9 #A93528 #5BA928 #289BA9
split-complementary
#7628A9 #9BA928 #28A935
monochromatic
#311146 #531C78 #7628A9 #973DD1 #B16FDD

Accessibility & contrast

On white

7.93
#7628A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7628A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628A9
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628A9#FFFFFF#000000##FFFFFF
##7628A91.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#6E4867
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7628a9;
/* rgb */ color: rgb(118, 40, 169);
/* oklch */ color: oklch(46.0% 0.195 307.8);
Tailwind
colors: {
  custom: {
    50: '#a26ac3',
    500: '#7628a9',
    950: '#000000',
  },
}
SCSS
$custom: #7628a9;
$custom-light: #a26ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7628a9",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 276.279,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45979,
    "c": 0.19489,
    "h": 307.8
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#7628A9
secondary
#8DC469
accent
#E54383
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7628A9

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

Preview Lab → · Contrast checker → · Palette generator →

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