#7626C5#7626C5

#7626C5 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.224 H 300.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7626C5
RGBrgb(118, 38, 197)
HSLhsl(270, 68%, 46%)
HSVhsv(270, 81%, 77%)
CMYKcmyk(40.1%, 80.7%, 0%, 22.7%)
CIE-LABlab(36.50, 62.12, -67.45)
CIE-LCHlch(36.50, 91.70, 312.65°)
OKLaboklab(48.11% 0.1139 -0.1929)
OKLCHoklch(48.11% 0.224 300.6)
XYZxyz(18.2399, 9.2688, 53.6406)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626C5 #75C526
analogous
#2626C5 #7626C5 #C526C4
triadic
#7626C5 #C57626 #26C576
tetradic
#7626C5 #C52626 #75C526 #26C4C5
square
#7626C5 #C52626 #75C526 #26C4C5
split-complementary
#7626C5 #C4C526 #26C526
monochromatic
#39125E #571C92 #7626C5 #954CDC #B37FE6

Accessibility & contrast

On white

7.36
#7626C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7626C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626C5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626C5#FFFFFF#000000##FFFFFF
##7626C51.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#645377
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7626c5;
/* rgb */ color: rgb(118, 38, 197);
/* oklch */ color: oklch(48.1% 0.224 300.6);
Tailwind
colors: {
  custom: {
    50: '#a56bd8',
    500: '#7626c5',
    950: '#000000',
  },
}
SCSS
$custom: #7626c5;
$custom-light: #a56bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7626c5",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 270.189,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.22397,
    "h": 300.6
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#7626C5
secondary
#A3CF78
accent
#EB3D93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7626C5

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

Preview Lab → · Contrast checker → · Palette generator →

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