#7626A2#7626A2

#7626A2 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.190 H 310.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7626A2
RGBrgb(118, 38, 162)
HSLhsl(279, 62%, 39%)
HSVhsv(279, 77%, 64%)
CMYKcmyk(27.2%, 76.5%, 0%, 36.5%)
CIE-LABlab(33.66, 54.24, -51.27)
CIE-LCHlch(33.66, 74.63, 316.61°)
OKLaboklab(45.25% 0.1228 -0.1453)
OKLCHoklch(45.25% 0.19 310.2)
XYZxyz(14.6846, 7.8467, 34.9164)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626A2 #52A226
analogous
#3826A2 #7626A2 #A22690
triadic
#7626A2 #A27626 #26A276
tetradic
#7626A2 #A23826 #52A226 #2690A2
square
#7626A2 #A23826 #52A226 #2690A2
split-complementary
#7626A2 #90A226 #26A238
monochromatic
#2E0F3F #521A70 #7626A2 #9935D0 #B267DB

Accessibility & contrast

On white

8.17
#7626A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7626A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626A2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626A2#FFFFFF#000000##FFFFFF
##7626A21.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#03509F
Tritanopia (blue-blind)
#704463
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7626a2;
/* rgb */ color: rgb(118, 38, 162);
/* oklch */ color: oklch(45.2% 0.190 310.2);
Tailwind
colors: {
  custom: {
    50: '#a269be',
    500: '#7626a2',
    950: '#000000',
  },
}
SCSS
$custom: #7626a2;
$custom-light: #a269be;
$custom-dark: #000000;
JSON
{
  "hex": "#7626a2",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 278.71,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.19026,
    "h": 310.2
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#7626A2
secondary
#84C163
accent
#E5437C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7626A2

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

Preview Lab → · Contrast checker → · Palette generator →

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