#7628A8#7628A8

#7628A8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.194 H 308.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7628A8
RGBrgb(118, 40, 168)
HSLhsl(277, 62%, 41%)
HSVhsv(277, 76%, 66%)
CMYKcmyk(29.8%, 76.2%, 0%, 34.1%)
CIE-LABlab(34.39, 54.78, -53.70)
CIE-LCHlch(34.39, 76.71, 315.57°)
OKLaboklab(45.9% 0.1198 -0.1525)
OKLCHoklch(45.9% 0.194 308.1)
XYZxyz(15.2964, 8.1965, 37.8145)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628A8 #5AA828
analogous
#3628A8 #7628A8 #A8289A
triadic
#7628A8 #A87628 #28A876
tetradic
#7628A8 #A83628 #5AA828 #289AA8
square
#7628A8 #A83628 #5AA828 #289AA8
split-complementary
#7628A8 #9AA828 #28A836
monochromatic
#311045 #531C77 #7628A8 #973DD1 #B16EDC

Accessibility & contrast

On white

7.96
#7628A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7628A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628A8
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628A8#FFFFFF#000000##FFFFFF
##7628A81.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#6E4767
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7628a8;
/* rgb */ color: rgb(118, 40, 168);
/* oklch */ color: oklch(45.9% 0.194 308.1);
Tailwind
colors: {
  custom: {
    50: '#a26ac3',
    500: '#7628a8',
    950: '#000000',
  },
}
SCSS
$custom: #7628a8;
$custom-light: #a26ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7628a8",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 276.563,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.19391,
    "h": 308.1
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#7628A8
secondary
#8CC369
accent
#E54382
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7628A8

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

Preview Lab → · Contrast checker → · Palette generator →

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