#7628B5#7628B5

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

Color values

HEX#7628B5
RGBrgb(118, 40, 181)
HSLhsl(273, 64%, 43%)
HSVhsv(273, 78%, 71%)
CMYKcmyk(34.8%, 77.9%, 0%, 29%)
CIE-LABlab(35.41, 57.71, -59.80)
CIE-LCHlch(35.41, 83.11, 313.98°)
OKLaboklab(46.94% 0.1168 -0.1704)
OKLCHoklch(46.94% 0.207 304.4)
XYZxyz(16.5686, 8.7054, 44.5145)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628B5 #67B528
analogous
#2F28B5 #7628B5 #B528AD
triadic
#7628B5 #B57628 #28B576
tetradic
#7628B5 #B52F28 #67B528 #28ADB5
square
#7628B5 #B52F28 #67B528 #28ADB5
split-complementary
#7628B5 #ADB528 #28B52F
monochromatic
#351251 #551D83 #7628B5 #9544D6 #B177E1

Accessibility & contrast

On white

7.66
#7628B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7628B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628B5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628B5#FFFFFF#000000##FFFFFF
##7628B51.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#6A4D6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7628b5;
/* rgb */ color: rgb(118, 40, 181);
/* oklch */ color: oklch(46.9% 0.207 304.4);
Tailwind
colors: {
  custom: {
    50: '#a36bcc',
    500: '#7628b5',
    950: '#000000',
  },
}
SCSS
$custom: #7628b5;
$custom-light: #a36bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7628b5",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 273.191,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46938,
    "c": 0.20661,
    "h": 304.4
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#7628B5
secondary
#98C870
accent
#E7418B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7628B5

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

Preview Lab → · Contrast checker → · Palette generator →

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