#7627A4#7627A4

#7627A4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.191 H 309.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7627A4
RGBrgb(118, 39, 164)
HSLhsl(278, 62%, 40%)
HSVhsv(278, 76%, 64%)
CMYKcmyk(28%, 76.2%, 0%, 35.7%)
CIE-LABlab(33.95, 54.28, -52.01)
CIE-LCHlch(33.95, 75.18, 316.22°)
OKLaboklab(45.5% 0.1215 -0.1475)
OKLCHoklch(45.5% 0.191 309.5)
XYZxyz(14.8962, 7.9832, 35.8710)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627A4 #55A427
analogous
#3827A4 #7627A4 #A42794
triadic
#7627A4 #A47627 #27A476
tetradic
#7627A4 #A43827 #55A427 #2794A4
square
#7627A4 #A43827 #55A427 #2794A4
split-complementary
#7627A4 #94A427 #27A438
monochromatic
#2F0F41 #521B73 #7627A4 #9838D0 #B26ADC

Accessibility & contrast

On white

8.09
#7627A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7627A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7627A4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627A4#FFFFFF#000000##FFFFFF
##7627A41.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#6F4564
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7627a4;
/* rgb */ color: rgb(118, 39, 164);
/* oklch */ color: oklch(45.5% 0.191 309.5);
Tailwind
colors: {
  custom: {
    50: '#a26ac0',
    500: '#7627a4',
    950: '#000000',
  },
}
SCSS
$custom: #7627a4;
$custom-light: #a26ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7627a4",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 277.92,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45495,
    "c": 0.19111,
    "h": 309.5
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#7627A4
secondary
#87C265
accent
#E5437F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7627A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7627A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva