#7628AE#7628AE

#7628AE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.4% C 0.200 H 306.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7628AE
RGBrgb(118, 40, 174)
HSLhsl(275, 63%, 42%)
HSVhsv(275, 77%, 68%)
CMYKcmyk(32.2%, 77%, 0%, 31.8%)
CIE-LABlab(34.85, 56.12, -56.54)
CIE-LCHlch(34.85, 79.67, 314.79°)
OKLaboklab(46.37% 0.1185 -0.1608)
OKLCHoklch(46.37% 0.2 306.4)
XYZxyz(15.8683, 8.4253, 40.8265)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628AE #60AE28
analogous
#3328AE #7628AE #AE28A3
triadic
#7628AE #AE7628 #28AE76
tetradic
#7628AE #AE3328 #60AE28 #28A3AE
square
#7628AE #AE3328 #60AE28 #28A3AE
split-complementary
#7628AE #A3AE28 #28AE33
monochromatic
#33114A #541D7C #7628AE #9640D3 #B172DF

Accessibility & contrast

On white

7.82
#7628AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7628AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628AE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628AE#FFFFFF#000000##FFFFFF
##7628AE1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#6C4A6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7628ae;
/* rgb */ color: rgb(118, 40, 174);
/* oklch */ color: oklch(46.4% 0.200 306.4);
Tailwind
colors: {
  custom: {
    50: '#a36bc7',
    500: '#7628ae',
    950: '#000000',
  },
}
SCSS
$custom: #7628ae;
$custom-light: #a36bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7628ae",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 274.925,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46373,
    "c": 0.19977,
    "h": 306.4
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#7628AE
secondary
#92C66C
accent
#E64286
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7628AE

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

Preview Lab → · Contrast checker → · Palette generator →

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