#7627C4#7627C4

#7627C4 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.222 H 300.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7627C4
RGBrgb(118, 39, 196)
HSLhsl(270, 67%, 46%)
HSVhsv(270, 80%, 77%)
CMYKcmyk(39.8%, 80.1%, 0%, 23.1%)
CIE-LABlab(36.53, 61.53, -66.80)
CIE-LCHlch(36.53, 90.82, 312.65°)
OKLaboklab(48.11% 0.1135 -0.191)
OKLCHoklch(48.11% 0.222 300.7)
XYZxyz(18.1581, 9.2880, 53.0500)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7627C4 #75C427
analogous
#2727C4 #7627C4 #C427C3
triadic
#7627C4 #C47627 #27C476
tetradic
#7627C4 #C42727 #75C427 #27C3C4
square
#7627C4 #C42727 #75C427 #27C3C4
split-complementary
#7627C4 #C3C427 #27C427
monochromatic
#39135E #571D91 #7627C4 #954DDC #B380E6

Accessibility & contrast

On white

7.35
#7627C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7627C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7627C4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7627C4#FFFFFF#000000##FFFFFF
##7627C41.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#645376
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7627c4;
/* rgb */ color: rgb(118, 39, 196);
/* oklch */ color: oklch(48.1% 0.222 300.7);
Tailwind
colors: {
  custom: {
    50: '#a56bd7',
    500: '#7627c4',
    950: '#000000',
  },
}
SCSS
$custom: #7627c4;
$custom-light: #a56bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7627c4",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 270.191,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.22214,
    "h": 300.7
  },
  "luminance": 0.09288
}

Semantic roles & 50–950 ramp

primary
#7627C4
secondary
#A3CE79
accent
#EA3E93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7627C4

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

Preview Lab → · Contrast checker → · Palette generator →

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