#7627BD#7627BD

#7627BD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.215 H 302.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7627BD
RGBrgb(118, 39, 189)
HSLhsl(272, 66%, 45%)
HSVhsv(272, 79%, 74%)
CMYKcmyk(37.6%, 79.4%, 0%, 25.9%)
CIE-LABlab(35.94, 59.92, -63.66)
CIE-LCHlch(35.94, 87.43, 313.26°)
OKLaboklab(47.51% 0.1155 -0.1818)
OKLCHoklch(47.51% 0.215 302.4)
XYZxyz(17.3798, 8.9767, 48.9513)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627BD #6EBD27
analogous
#2B27BD #7627BD #BD27B9
triadic
#7627BD #BD7627 #27BD76
tetradic
#7627BD #BD2B27 #6EBD27 #27B9BD
square
#7627BD #BD2B27 #6EBD27 #27B9BD
split-complementary
#7627BD #B9BD27 #27BD2B
monochromatic
#371258 #561D8A #7627BD #9448D9 #B27BE4

Accessibility & contrast

On white

7.51
#7627BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7627BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7627BD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627BD#FFFFFF#000000##FFFFFF
##7627BD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#675072
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7627bd;
/* rgb */ color: rgb(118, 39, 189);
/* oklch */ color: oklch(47.5% 0.215 302.4);
Tailwind
colors: {
  custom: {
    50: '#a46bd2',
    500: '#7627bd',
    950: '#000000',
  },
}
SCSS
$custom: #7627bd;
$custom-light: #a46bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7627bd",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 271.6,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.21534,
    "h": 302.4
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7627BD

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

Preview Lab → · Contrast checker → · Palette generator →

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