#7628B6#7628B6

#7628B6 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.208 H 304.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7628B6
RGBrgb(118, 40, 182)
HSLhsl(273, 64%, 44%)
HSVhsv(273, 78%, 71%)
CMYKcmyk(35.2%, 78%, 0%, 28.6%)
CIE-LABlab(35.49, 57.94, -60.26)
CIE-LCHlch(35.49, 83.60, 313.88°)
OKLaboklab(47.02% 0.1166 -0.1718)
OKLCHoklch(47.02% 0.208 304.2)
XYZxyz(16.6716, 8.7466, 45.0569)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628B6 #68B628
analogous
#2F28B6 #7628B6 #B628AF
triadic
#7628B6 #B67628 #28B676
tetradic
#7628B6 #B62F28 #68B628 #28AFB6
square
#7628B6 #B62F28 #68B628 #28AFB6
split-complementary
#7628B6 #AFB628 #28B62F
monochromatic
#351252 #551D84 #7628B6 #9545D6 #B177E1

Accessibility & contrast

On white

7.64
#7628B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7628B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628B6
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628B6#FFFFFF#000000##FFFFFF
##7628B61.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#694D6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7628b6;
/* rgb */ color: rgb(118, 40, 182);
/* oklch */ color: oklch(47.0% 0.208 304.2);
Tailwind
colors: {
  custom: {
    50: '#a36bcd',
    500: '#7628b6',
    950: '#000000',
  },
}
SCSS
$custom: #7628b6;
$custom-light: #a36bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7628b6",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 272.958,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.20758,
    "h": 304.2
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#7628B6
secondary
#99C971
accent
#E7418C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7628B6

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

Preview Lab → · Contrast checker → · Palette generator →

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