#7628AC#7628AC

#7628AC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.2% C 0.198 H 307.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7628AC
RGBrgb(118, 40, 172)
HSLhsl(275, 62%, 42%)
HSVhsv(275, 77%, 67%)
CMYKcmyk(31.4%, 76.7%, 0%, 32.5%)
CIE-LABlab(34.70, 55.67, -55.60)
CIE-LCHlch(34.70, 78.68, 315.04°)
OKLaboklab(46.22% 0.1189 -0.1581)
OKLCHoklch(46.22% 0.198 307)
XYZxyz(15.6748, 8.3479, 39.8073)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628AC #5EAC28
analogous
#3428AC #7628AC #AC28A0
triadic
#7628AC #AC7628 #28AC76
tetradic
#7628AC #AC3428 #5EAC28 #28A0AC
square
#7628AC #AC3428 #5EAC28 #28A0AC
split-complementary
#7628AC #A0AC28 #28AC34
monochromatic
#321149 #541C7A #7628AC #963FD2 #B171DE

Accessibility & contrast

On white

7.87
#7628AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7628AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628AC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628AC#FFFFFF#000000##FFFFFF
##7628AC1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#6D4969
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7628ac;
/* rgb */ color: rgb(118, 40, 172);
/* oklch */ color: oklch(46.2% 0.198 307.0);
Tailwind
colors: {
  custom: {
    50: '#a36bc6',
    500: '#7628ac',
    950: '#000000',
  },
}
SCSS
$custom: #7628ac;
$custom-light: #a36bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7628ac",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 275.455,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46215,
    "c": 0.19782,
    "h": 307
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#7628AC
secondary
#90C56B
accent
#E54285
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7628AC

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

Preview Lab → · Contrast checker → · Palette generator →

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