#7627B8#7627B8

#7627B8 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.210 H 303.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7627B8
RGBrgb(118, 39, 184)
HSLhsl(273, 65%, 44%)
HSVhsv(273, 79%, 72%)
CMYKcmyk(35.9%, 78.8%, 0%, 27.8%)
CIE-LABlab(35.52, 58.77, -61.39)
CIE-LCHlch(35.52, 84.99, 313.75°)
OKLaboklab(47.09% 0.1169 -0.1751)
OKLCHoklch(47.09% 0.21 303.7)
XYZxyz(16.8464, 8.7633, 46.1421)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627B8 #69B827
analogous
#2E27B8 #7627B8 #B827B1
triadic
#7627B8 #B87627 #27B876
tetradic
#7627B8 #B82E27 #69B827 #27B1B8
square
#7627B8 #B82E27 #69B827 #27B1B8
split-complementary
#7627B8 #B1B827 #27B82E
monochromatic
#351253 #561C86 #7627B8 #9545D8 #B177E2

Accessibility & contrast

On white

7.63
#7627B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7627B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7627B8#FFFFFF#000000##FFFFFF
##7627B81.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#694E70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7627b8;
/* rgb */ color: rgb(118, 39, 184);
/* oklch */ color: oklch(47.1% 0.210 303.7);
Tailwind
colors: {
  custom: {
    50: '#a46bce',
    500: '#7627b8',
    950: '#000000',
  },
}
SCSS
$custom: #7627b8;
$custom-light: #a46bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7627b8",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 272.69,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47093,
    "c": 0.21049,
    "h": 303.7
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#7627B8
secondary
#99CA71
accent
#E8408C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7627B8

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

Preview Lab → · Contrast checker → · Palette generator →

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