#7627B7#7627B7

#7627B7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.210 H 304.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7627B7
RGBrgb(118, 39, 183)
HSLhsl(273, 65%, 44%)
HSVhsv(273, 79%, 72%)
CMYKcmyk(35.5%, 78.7%, 0%, 28.2%)
CIE-LABlab(35.44, 58.55, -60.93)
CIE-LCHlch(35.44, 84.50, 313.86°)
OKLaboklab(47.01% 0.1171 -0.1737)
OKLCHoklch(47.01% 0.21 304)
XYZxyz(16.7420, 8.7215, 45.5920)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627B7 #68B727
analogous
#2E27B7 #7627B7 #B727B0
triadic
#7627B7 #B77627 #27B776
tetradic
#7627B7 #B72E27 #68B727 #27B0B7
square
#7627B7 #B72E27 #68B727 #27B0B7
split-complementary
#7627B7 #B0B727 #27B72E
monochromatic
#351152 #551C85 #7627B7 #9544D7 #B176E2

Accessibility & contrast

On white

7.65
#7627B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7627B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7627B7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627B7#FFFFFF#000000##FFFFFF
##7627B71.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#694D6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7627b7;
/* rgb */ color: rgb(118, 39, 183);
/* oklch */ color: oklch(47.0% 0.210 304.0);
Tailwind
colors: {
  custom: {
    50: '#a46bce',
    500: '#7627b7',
    950: '#000000',
  },
}
SCSS
$custom: #7627b7;
$custom-light: #a46bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7627b7",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 272.917,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47011,
    "c": 0.20952,
    "h": 304
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7627B7

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

Preview Lab → · Contrast checker → · Palette generator →

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