#7628B8#7628B8

#7628B8 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.210 H 303.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7628B8
RGBrgb(118, 40, 184)
HSLhsl(273, 64%, 44%)
HSVhsv(273, 78%, 72%)
CMYKcmyk(35.9%, 78.3%, 0%, 27.8%)
CIE-LABlab(35.65, 58.40, -61.18)
CIE-LCHlch(35.65, 84.58, 313.67°)
OKLaboklab(47.18% 0.116 -0.1745)
OKLCHoklch(47.18% 0.21 303.6)
XYZxyz(16.8797, 8.8298, 46.1532)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628B8 #6AB828
analogous
#2E28B8 #7628B8 #B828B2
triadic
#7628B8 #B87628 #28B876
tetradic
#7628B8 #B82E28 #6AB828 #28B2B8
square
#7628B8 #B82E28 #6AB828 #28B2B8
split-complementary
#7628B8 #B2B828 #28B82E
monochromatic
#361253 #561D86 #7628B8 #9546D7 #B279E2

Accessibility & contrast

On white

7.59
#7628B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7628B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628B8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628B8#FFFFFF#000000##FFFFFF
##7628B81.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#694E70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7628b8;
/* rgb */ color: rgb(118, 40, 184);
/* oklch */ color: oklch(47.2% 0.210 303.6);
Tailwind
colors: {
  custom: {
    50: '#a46bce',
    500: '#7628b8',
    950: '#000000',
  },
}
SCSS
$custom: #7628b8;
$custom-light: #a46bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7628b8",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 272.5,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47184,
    "c": 0.20954,
    "h": 303.6
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#7628B8
secondary
#9ACA72
accent
#E7418D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7628B8

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

Preview Lab → · Contrast checker → · Palette generator →

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