#7626A5#7626A5

#7626A5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.193 H 309.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7626A5
RGBrgb(118, 38, 165)
HSLhsl(278, 63%, 40%)
HSVhsv(278, 77%, 65%)
CMYKcmyk(28.5%, 77%, 0%, 35.3%)
CIE-LABlab(33.89, 54.89, -52.71)
CIE-LCHlch(33.89, 76.10, 316.16°)
OKLaboklab(45.48% 0.1222 -0.1496)
OKLCHoklch(45.48% 0.193 309.2)
XYZxyz(14.9545, 7.9547, 36.3376)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626A5 #55A526
analogous
#3626A5 #7626A5 #A52695
triadic
#7626A5 #A57626 #26A576
tetradic
#7626A5 #A53626 #55A526 #2695A5
square
#7626A5 #A53626 #55A526 #2695A5
split-complementary
#7626A5 #95A526 #26A536
monochromatic
#2F0F42 #521B73 #7626A5 #9837D1 #B269DC

Accessibility & contrast

On white

8.11
#7626A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7626A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626A5
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626A5#FFFFFF#000000##FFFFFF
##7626A51.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#6F4564
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7626a5;
/* rgb */ color: rgb(118, 38, 165);
/* oklch */ color: oklch(45.5% 0.193 309.2);
Tailwind
colors: {
  custom: {
    50: '#a269c0',
    500: '#7626a5',
    950: '#000000',
  },
}
SCSS
$custom: #7626a5;
$custom-light: #a269c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7626a5",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 277.795,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45477,
    "c": 0.19314,
    "h": 309.2
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#7626A5
secondary
#87C364
accent
#E6427F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7626A5

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

Preview Lab → · Contrast checker → · Palette generator →

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