#7628BD#7628BD

#7628BD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.214 H 302.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7628BD
RGBrgb(118, 40, 189)
HSLhsl(271, 65%, 45%)
HSVhsv(271, 79%, 74%)
CMYKcmyk(37.6%, 78.8%, 0%, 25.9%)
CIE-LABlab(36.07, 59.55, -63.45)
CIE-LCHlch(36.07, 87.02, 313.18°)
OKLaboklab(47.6% 0.1147 -0.1812)
OKLCHoklch(47.6% 0.214 302.3)
XYZxyz(17.4131, 9.0432, 48.9624)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628BD #6FBD28
analogous
#2B28BD #7628BD #BD28BA
triadic
#7628BD #BD7628 #28BD76
tetradic
#7628BD #BD2B28 #6FBD28 #28BABD
square
#7628BD #BD2B28 #6FBD28 #28BABD
split-complementary
#7628BD #BABD28 #28BD2B
monochromatic
#371358 #561D8A #7628BD #944AD9 #B27CE3

Accessibility & contrast

On white

7.48
#7628BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7628BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628BD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628BD#FFFFFF#000000##FFFFFF
##7628BD1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#675073
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7628bd;
/* rgb */ color: rgb(118, 40, 189);
/* oklch */ color: oklch(47.6% 0.214 302.3);
Tailwind
colors: {
  custom: {
    50: '#a46bd2',
    500: '#7628bd',
    950: '#000000',
  },
}
SCSS
$custom: #7628bd;
$custom-light: #a46bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7628bd",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 271.409,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.476,
    "c": 0.21442,
    "h": 302.3
  },
  "luminance": 0.09043
}

Semantic roles & 50–950 ramp

primary
#7628BD
secondary
#9ECB75
accent
#E84090
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7628BD

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

Preview Lab → · Contrast checker → · Palette generator →

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