#7628A0#7628A0

#7628A0 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.186 H 310.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7628A0
RGBrgb(118, 40, 160)
HSLhsl(279, 60%, 39%)
HSVhsv(279, 75%, 63%)
CMYKcmyk(26.2%, 75%, 0%, 37.3%)
CIE-LABlab(33.79, 53.01, -49.86)
CIE-LCHlch(33.79, 72.77, 316.76°)
OKLaboklab(45.29% 0.1213 -0.1412)
OKLCHoklch(45.29% 0.186 310.7)
XYZxyz(14.5739, 7.9075, 34.0095)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628A0 #52A028
analogous
#3A28A0 #7628A0 #A0288E
triadic
#7628A0 #A07628 #28A076
tetradic
#7628A0 #A03A28 #52A028 #288EA0
square
#7628A0 #A03A28 #52A028 #288EA0
split-complementary
#7628A0 #8EA028 #28A03A
monochromatic
#2E103E #521C6F #7628A0 #9938CD #B269D9

Accessibility & contrast

On white

8.14
#7628A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7628A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628A0
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628A0#FFFFFF#000000##FFFFFF
##7628A01.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#0F519D
Tritanopia (blue-blind)
#704462
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7628a0;
/* rgb */ color: rgb(118, 40, 160);
/* oklch */ color: oklch(45.3% 0.186 310.7);
Tailwind
colors: {
  custom: {
    50: '#a26abd',
    500: '#7628a0',
    950: '#000000',
  },
}
SCSS
$custom: #7628a0;
$custom-light: #a26abd;
$custom-dark: #000000;
JSON
{
  "hex": "#7628a0",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 279,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4529,
    "c": 0.18611,
    "h": 310.7
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#7628A0
secondary
#84C064
accent
#E3457C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7628A0

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

Preview Lab → · Contrast checker → · Palette generator →

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