#7626C4#7626C4

#7626C4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.223 H 300.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7626C4
RGBrgb(118, 38, 196)
HSLhsl(270, 68%, 46%)
HSVhsv(270, 81%, 77%)
CMYKcmyk(39.8%, 80.6%, 0%, 23.1%)
CIE-LABlab(36.41, 61.89, -67.00)
CIE-LCHlch(36.41, 91.21, 312.73°)
OKLaboklab(48.02% 0.1142 -0.1916)
OKLCHoklch(48.02% 0.223 300.8)
XYZxyz(18.1257, 9.2231, 53.0392)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626C4 #74C426
analogous
#2726C4 #7626C4 #C426C3
triadic
#7626C4 #C47626 #26C476
tetradic
#7626C4 #C42726 #74C426 #26C3C4
square
#7626C4 #C42726 #74C426 #26C3C4
split-complementary
#7626C4 #C3C426 #26C427
monochromatic
#38125D #571C91 #7626C4 #954BDC #B37EE6

Accessibility & contrast

On white

7.38
#7626C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7626C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626C4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626C4#FFFFFF#000000##FFFFFF
##7626C41.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7626c4;
/* rgb */ color: rgb(118, 38, 196);
/* oklch */ color: oklch(48.0% 0.223 300.8);
Tailwind
colors: {
  custom: {
    50: '#a56bd7',
    500: '#7626c4',
    950: '#000000',
  },
}
SCSS
$custom: #7626c4;
$custom-light: #a56bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7626c4",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 196
  },
  "hsl": {
    "h": 270.38,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48022,
    "c": 0.22301,
    "h": 300.8
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#7626C4
secondary
#A2CE77
accent
#EA3D93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7626C4

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

Preview Lab → · Contrast checker → · Palette generator →

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