#7627BC#7627BC

#7627BC is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.214 H 302.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7627BC
RGBrgb(118, 39, 188)
HSLhsl(272, 66%, 45%)
HSVhsv(272, 79%, 74%)
CMYKcmyk(37.2%, 79.3%, 0%, 26.3%)
CIE-LABlab(35.86, 59.69, -63.21)
CIE-LCHlch(35.86, 86.94, 313.36°)
OKLaboklab(47.43% 0.1158 -0.1804)
OKLCHoklch(47.43% 0.214 302.7)
XYZxyz(17.2717, 8.9334, 48.3816)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627BC #6DBC27
analogous
#2B27BC #7627BC #BC27B8
triadic
#7627BC #BC7627 #27BC76
tetradic
#7627BC #BC2B27 #6DBC27 #27B8BC
square
#7627BC #BC2B27 #6DBC27 #27B8BC
split-complementary
#7627BC #B8BC27 #27BC2B
monochromatic
#361257 #561C89 #7627BC #9447D9 #B27AE3

Accessibility & contrast

On white

7.54
#7627BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7627BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7627BC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627BC#FFFFFF#000000##FFFFFF
##7627BC1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#674F72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7627bc;
/* rgb */ color: rgb(118, 39, 188);
/* oklch */ color: oklch(47.4% 0.214 302.7);
Tailwind
colors: {
  custom: {
    50: '#a46bd1',
    500: '#7627bc',
    950: '#000000',
  },
}
SCSS
$custom: #7627bc;
$custom-light: #a46bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7627bc",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 271.812,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.21437,
    "h": 302.7
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#7627BC
secondary
#9DCB73
accent
#E93F8F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7627BC

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

Preview Lab → · Contrast checker → · Palette generator →

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