#7628A3#7628A3

#7628A3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.189 H 309.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7628A3
RGBrgb(118, 40, 163)
HSLhsl(278, 61%, 40%)
HSVhsv(278, 75%, 64%)
CMYKcmyk(27.6%, 75.5%, 0%, 36.1%)
CIE-LABlab(34.01, 53.67, -51.31)
CIE-LCHlch(34.01, 74.25, 316.29°)
OKLaboklab(45.52% 0.1207 -0.1455)
OKLCHoklch(45.52% 0.189 309.7)
XYZxyz(14.8395, 8.0138, 35.4083)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7628A3 #55A328
analogous
#3928A3 #7628A3 #A32892
triadic
#7628A3 #A37628 #28A376
tetradic
#7628A3 #A33928 #55A328 #2892A3
square
#7628A3 #A33928 #55A328 #2892A3
split-complementary
#7628A3 #92A328 #28A339
monochromatic
#2F1041 #521C72 #7628A3 #983ACF #B26BDB

Accessibility & contrast

On white

8.07
#7628A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7628A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7628A3
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7628A3#FFFFFF#000000##FFFFFF
##7628A31.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0451A0
Tritanopia (blue-blind)
#6F4564
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7628a3;
/* rgb */ color: rgb(118, 40, 163);
/* oklch */ color: oklch(45.5% 0.189 309.7);
Tailwind
colors: {
  custom: {
    50: '#a26abf',
    500: '#7628a3',
    950: '#000000',
  },
}
SCSS
$custom: #7628a3;
$custom-light: #a26abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7628a3",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 278.049,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45517,
    "c": 0.18904,
    "h": 309.7
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#7628A3
secondary
#87C166
accent
#E4447E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7628A3

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

Preview Lab → · Contrast checker → · Palette generator →

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