#7627AB#7627AB

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

Color values

HEX#7627AB
RGBrgb(118, 39, 171)
HSLhsl(276, 63%, 41%)
HSVhsv(276, 77%, 67%)
CMYKcmyk(31%, 77.2%, 0%, 32.9%)
CIE-LABlab(34.48, 55.84, -55.35)
CIE-LCHlch(34.48, 78.62, 315.25°)
OKLaboklab(46.04% 0.12 -0.1573)
OKLCHoklch(46.04% 0.198 307.3)
XYZxyz(15.5458, 8.2431, 39.2923)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627AB #5CAB27
analogous
#3427AB #7627AB #AB279E
triadic
#7627AB #AB7627 #27AB76
tetradic
#7627AB #AB3427 #5CAB27 #279EAB
square
#7627AB #AB3427 #5CAB27 #279EAB
split-complementary
#7627AB #9EAB27 #27AB34
monochromatic
#311047 #541C79 #7627AB #963DD3 #B16EDE

Accessibility & contrast

On white

7.93
#7627AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7627AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7627AB#FFFFFF#000000##FFFFFF
##7627AB1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7627ab;
/* rgb */ color: rgb(118, 39, 171);
/* oklch */ color: oklch(46.0% 0.198 307.3);
Tailwind
colors: {
  custom: {
    50: '#a36ac5',
    500: '#7627ab',
    950: '#000000',
  },
}
SCSS
$custom: #7627ab;
$custom-light: #a36ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7627ab",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 275.909,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46041,
    "c": 0.19788,
    "h": 307.3
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7627AB

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

Preview Lab → · Contrast checker → · Palette generator →

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