#7628B4#7628B4

#7628B4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.206 H 304.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7628B4
RGBrgb(118, 40, 180)
HSLhsl(273, 64%, 43%)
HSVhsv(273, 78%, 71%)
CMYKcmyk(34.4%, 77.8%, 0%, 29.4%)
CIE-LABlab(35.33, 57.48, -59.34)
CIE-LCHlch(35.33, 82.61, 314.09°)
OKLaboklab(46.86% 0.1171 -0.1691)
OKLCHoklch(46.86% 0.206 304.7)
XYZxyz(16.4663, 8.6645, 43.9761)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628B4 #66B428
analogous
#3028B4 #7628B4 #B428AC
triadic
#7628B4 #B47628 #28B476
tetradic
#7628B4 #B43028 #66B428 #28ACB4
square
#7628B4 #B43028 #66B428 #28ACB4
split-complementary
#7628B4 #ACB428 #28B430
monochromatic
#341250 #551D82 #7628B4 #9544D5 #B176E1

Accessibility & contrast

On white

7.68
#7628B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7628B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628B4
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628B4#FFFFFF#000000##FFFFFF
##7628B41.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#6A4C6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7628b4;
/* rgb */ color: rgb(118, 40, 180);
/* oklch */ color: oklch(46.9% 0.206 304.7);
Tailwind
colors: {
  custom: {
    50: '#a36bcb',
    500: '#7628b4',
    950: '#000000',
  },
}
SCSS
$custom: #7628b4;
$custom-light: #a36bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7628b4",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 273.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46857,
    "c": 0.20563,
    "h": 304.7
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#7628B4
secondary
#97C870
accent
#E7418A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7628B4

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

Preview Lab → · Contrast checker → · Palette generator →

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