#7627AC#7627AC

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

Color values

HEX#7627AC
RGBrgb(118, 39, 172)
HSLhsl(276, 63%, 41%)
HSVhsv(276, 77%, 67%)
CMYKcmyk(31.4%, 77.3%, 0%, 32.5%)
CIE-LABlab(34.56, 56.06, -55.82)
CIE-LCHlch(34.56, 79.11, 315.12°)
OKLaboklab(46.12% 0.1198 -0.1587)
OKLCHoklch(46.12% 0.199 307)
XYZxyz(15.6415, 8.2813, 39.7962)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627AC #5DAC27
analogous
#3427AC #7627AC #AC27A0
triadic
#7627AC #AC7627 #27AC76
tetradic
#7627AC #AC3427 #5DAC27 #27A0AC
square
#7627AC #AC3427 #5DAC27 #27A0AC
split-complementary
#7627AC #A0AC27 #27AC34
monochromatic
#321048 #541C7A #7627AC #963DD3 #B16FDE

Accessibility & contrast

On white

7.91
#7627AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7627AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7627AC#FFFFFF#000000##FFFFFF
##7627AC1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7627ac;
/* rgb */ color: rgb(118, 39, 172);
/* oklch */ color: oklch(46.1% 0.199 307.0);
Tailwind
colors: {
  custom: {
    50: '#a36ac6',
    500: '#7627ac',
    950: '#000000',
  },
}
SCSS
$custom: #7627ac;
$custom-light: #a36ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7627ac",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 275.639,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4612,
    "c": 0.19886,
    "h": 307
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#7627AC
secondary
#8FC56A
accent
#E64284
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7627AC

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

Preview Lab → · Contrast checker → · Palette generator →

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