#7626A3#7626A3

#7626A3 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.191 H 309.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7626A3
RGBrgb(118, 38, 163)
HSLhsl(278, 62%, 39%)
HSVhsv(278, 77%, 64%)
CMYKcmyk(27.6%, 76.7%, 0%, 36.1%)
CIE-LABlab(33.74, 54.45, -51.75)
CIE-LCHlch(33.74, 75.12, 316.46°)
OKLaboklab(45.32% 0.1226 -0.1468)
OKLCHoklch(45.32% 0.191 309.9)
XYZxyz(14.7739, 7.8824, 35.3864)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626A3 #53A326
analogous
#3826A3 #7626A3 #A32692
triadic
#7626A3 #A37626 #26A376
tetradic
#7626A3 #A33826 #53A326 #2692A3
square
#7626A3 #A33826 #53A326 #2692A3
split-complementary
#7626A3 #92A326 #26A338
monochromatic
#2E0F40 #521A71 #7626A3 #9936D0 #B268DC

Accessibility & contrast

On white

8.15
#7626A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7626A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626A3
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626A3#FFFFFF#000000##FFFFFF
##7626A31.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#704463
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7626a3;
/* rgb */ color: rgb(118, 38, 163);
/* oklch */ color: oklch(45.3% 0.191 309.9);
Tailwind
colors: {
  custom: {
    50: '#a269bf',
    500: '#7626a3',
    950: '#000000',
  },
}
SCSS
$custom: #7626a3;
$custom-light: #a269bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7626a3",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 278.4,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.19122,
    "h": 309.9
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#7626A3
secondary
#85C263
accent
#E5437D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7626A3

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

Preview Lab → · Contrast checker → · Palette generator →

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