#7627AA#7627AA

#7627AA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.197 H 307.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7627AA
RGBrgb(118, 39, 170)
HSLhsl(276, 63%, 41%)
HSVhsv(276, 77%, 67%)
CMYKcmyk(30.6%, 77.1%, 0%, 33.3%)
CIE-LABlab(34.41, 55.61, -54.88)
CIE-LCHlch(34.41, 78.13, 315.38°)
OKLaboklab(45.96% 0.1202 -0.1559)
OKLCHoklch(45.96% 0.197 307.6)
XYZxyz(15.4509, 8.2051, 38.7922)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627AA #5BAA27
analogous
#3427AA #7627AA #AA279C
triadic
#7627AA #AA7627 #27AA76
tetradic
#7627AA #AA3427 #5BAA27 #279CAA
square
#7627AA #AA3427 #5BAA27 #279CAA
split-complementary
#7627AA #9CAA27 #27AA34
monochromatic
#311046 #531C78 #7627AA #973CD2 #B16EDE

Accessibility & contrast

On white

7.95
#7627AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7627AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7627AA#FFFFFF#000000##FFFFFF
##7627AA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#6D4868
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7627aa;
/* rgb */ color: rgb(118, 39, 170);
/* oklch */ color: oklch(46.0% 0.197 307.6);
Tailwind
colors: {
  custom: {
    50: '#a36ac4',
    500: '#7627aa',
    950: '#000000',
  },
}
SCSS
$custom: #7627aa;
$custom-light: #a36ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7627aa",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 276.183,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45962,
    "c": 0.19691,
    "h": 307.6
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#7627AA
secondary
#8DC469
accent
#E64283
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7627AA

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

Preview Lab → · Contrast checker → · Palette generator →

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