#7628BB#7628BB

#7628BB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.212 H 302.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7628BB
RGBrgb(118, 40, 187)
HSLhsl(272, 65%, 45%)
HSVhsv(272, 79%, 73%)
CMYKcmyk(36.9%, 78.6%, 0%, 26.7%)
CIE-LABlab(35.90, 59.09, -62.55)
CIE-LCHlch(35.90, 86.04, 313.37°)
OKLaboklab(47.43% 0.1153 -0.1785)
OKLCHoklch(47.43% 0.212 302.9)
XYZxyz(17.1975, 8.9570, 47.8269)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628BB #6DBB28
analogous
#2D28BB #7628BB #BB28B7
triadic
#7628BB #BB7628 #28BB76
tetradic
#7628BB #BB2D28 #6DBB28 #28B7BB
square
#7628BB #BB2D28 #6DBB28 #28B7BB
split-complementary
#7628BB #B7BB28 #28BB2D
monochromatic
#361256 #561D89 #7628BB #9448D8 #B27BE3

Accessibility & contrast

On white

7.52
#7628BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7628BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628BB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628BB#FFFFFF#000000##FFFFFF
##7628BB1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#674F71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7628bb;
/* rgb */ color: rgb(118, 40, 187);
/* oklch */ color: oklch(47.4% 0.212 302.9);
Tailwind
colors: {
  custom: {
    50: '#a46bd0',
    500: '#7628bb',
    950: '#000000',
  },
}
SCSS
$custom: #7628bb;
$custom-light: #a46bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7628bb",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 271.837,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47433,
    "c": 0.21246,
    "h": 302.9
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#7628BB
secondary
#9DCB74
accent
#E8408F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7628BB

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

Preview Lab → · Contrast checker → · Palette generator →

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