#7627AE#7627AE

#7627AE is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.201 H 306.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7627AE
RGBrgb(118, 39, 174)
HSLhsl(275, 63%, 42%)
HSVhsv(275, 78%, 68%)
CMYKcmyk(32.2%, 77.6%, 0%, 31.8%)
CIE-LABlab(34.72, 56.51, -56.76)
CIE-LCHlch(34.72, 80.09, 314.87°)
OKLaboklab(46.28% 0.1193 -0.1615)
OKLCHoklch(46.28% 0.201 306.5)
XYZxyz(15.8350, 8.3587, 40.8154)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627AE #5FAE27
analogous
#3327AE #7627AE #AE27A3
triadic
#7627AE #AE7627 #27AE76
tetradic
#7627AE #AE3327 #5FAE27 #27A3AE
square
#7627AE #AE3327 #5FAE27 #27A3AE
split-complementary
#7627AE #A3AE27 #27AE33
monochromatic
#32114A #541C7C #7627AE #963ED4 #B170DF

Accessibility & contrast

On white

7.86
#7627AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7627AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7627AE
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627AE#FFFFFF#000000##FFFFFF
##7627AE1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#6C496A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7627ae;
/* rgb */ color: rgb(118, 39, 174);
/* oklch */ color: oklch(46.3% 0.201 306.5);
Tailwind
colors: {
  custom: {
    50: '#a36ac7',
    500: '#7627ae',
    950: '#000000',
  },
}
SCSS
$custom: #7627ae;
$custom-light: #a36ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7627ae",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 275.111,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46279,
    "c": 0.20079,
    "h": 306.5
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#7627AE
secondary
#91C66B
accent
#E64186
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7627AE

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

Preview Lab → · Contrast checker → · Palette generator →

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