#7627A7#7627A7

#7627A7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.194 H 308.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7627A7
RGBrgb(118, 39, 167)
HSLhsl(277, 62%, 40%)
HSVhsv(277, 77%, 65%)
CMYKcmyk(29.3%, 76.6%, 0%, 34.5%)
CIE-LABlab(34.18, 54.95, -53.45)
CIE-LCHlch(34.18, 76.65, 315.79°)
OKLaboklab(45.73% 0.1209 -0.1517)
OKLCHoklch(45.73% 0.194 308.5)
XYZxyz(15.1703, 8.0929, 37.3146)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627A7 #58A727
analogous
#3627A7 #7627A7 #A72798
triadic
#7627A7 #A77627 #27A776
tetradic
#7627A7 #A73627 #58A727 #2798A7
square
#7627A7 #A73627 #58A727 #2798A7
split-complementary
#7627A7 #98A727 #27A736
monochromatic
#301044 #531B75 #7627A7 #973AD1 #B16CDD

Accessibility & contrast

On white

8.02
#7627A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7627A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7627A7#FFFFFF#000000##FFFFFF
##7627A71.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#6E4666
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7627a7;
/* rgb */ color: rgb(118, 39, 167);
/* oklch */ color: oklch(45.7% 0.194 308.5);
Tailwind
colors: {
  custom: {
    50: '#a26ac2',
    500: '#7627a7',
    950: '#000000',
  },
}
SCSS
$custom: #7627a7;
$custom-light: #a26ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#7627a7",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 277.031,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.19401,
    "h": 308.5
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#7627A7
secondary
#8AC367
accent
#E54381
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7627A7

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

Preview Lab → · Contrast checker → · Palette generator →

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