#7626BA#7626BA

#7626BA is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.213 H 303.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7626BA
RGBrgb(118, 38, 186)
HSLhsl(272, 66%, 44%)
HSVhsv(272, 80%, 73%)
CMYKcmyk(36.6%, 79.6%, 0%, 27.1%)
CIE-LABlab(35.56, 59.60, -62.51)
CIE-LCHlch(35.56, 86.37, 313.63°)
OKLaboklab(47.17% 0.1171 -0.1784)
OKLCHoklch(47.17% 0.213 303.3)
XYZxyz(17.0252, 8.7829, 47.2432)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626BA #6ABA26
analogous
#2C26BA #7626BA #BA26B4
triadic
#7626BA #BA7626 #26BA76
tetradic
#7626BA #BA2C26 #6ABA26 #26B4BA
square
#7626BA #BA2C26 #6ABA26 #26B4BA
split-complementary
#7626BA #B4BA26 #26BA2C
monochromatic
#361154 #561C87 #7626BA #9544D9 #B277E3

Accessibility & contrast

On white

7.62
#7626BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7626BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626BA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626BA#FFFFFF#000000##FFFFFF
##7626BA1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#684E70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7626ba;
/* rgb */ color: rgb(118, 38, 186);
/* oklch */ color: oklch(47.2% 0.213 303.3);
Tailwind
colors: {
  custom: {
    50: '#a46ad0',
    500: '#7626ba',
    950: '#000000',
  },
}
SCSS
$custom: #7626ba;
$custom-light: #a46ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7626ba",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 272.432,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47171,
    "c": 0.21337,
    "h": 303.3
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#7626BA
secondary
#9ACB71
accent
#E93F8D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7626BA

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

Preview Lab → · Contrast checker → · Palette generator →

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