#7627A8#7627A8

#7627A8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.195 H 308.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7627A8
RGBrgb(118, 39, 168)
HSLhsl(277, 62%, 41%)
HSVhsv(277, 77%, 66%)
CMYKcmyk(29.8%, 76.8%, 0%, 34.1%)
CIE-LABlab(34.25, 55.17, -53.93)
CIE-LCHlch(34.25, 77.15, 315.65°)
OKLaboklab(45.81% 0.1207 -0.1531)
OKLCHoklch(45.81% 0.195 308.2)
XYZxyz(15.2631, 8.1300, 37.8034)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627A8 #59A827
analogous
#3527A8 #7627A8 #A82799
triadic
#7627A8 #A87627 #27A876
tetradic
#7627A8 #A83527 #59A827 #2799A8
square
#7627A8 #A83527 #59A827 #2799A8
split-complementary
#7627A8 #99A827 #27A835
monochromatic
#301045 #531B76 #7627A8 #973BD1 #B16CDD

Accessibility & contrast

On white

8.00
#7627A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7627A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7627A8#FFFFFF#000000##FFFFFF
##7627A81.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#6E4766
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7627a8;
/* rgb */ color: rgb(118, 39, 168);
/* oklch */ color: oklch(45.8% 0.195 308.2);
Tailwind
colors: {
  custom: {
    50: '#a26ac3',
    500: '#7627a8',
    950: '#000000',
  },
}
SCSS
$custom: #7627a8;
$custom-light: #a26ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7627a8",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 276.744,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.19498,
    "h": 308.2
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#7627A8
secondary
#8BC367
accent
#E54282
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7627A8

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

Preview Lab → · Contrast checker → · Palette generator →

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