#7626B0#7626B0

#7626B0 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.204 H 306.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7626B0
RGBrgb(118, 38, 176)
HSLhsl(275, 64%, 42%)
HSVhsv(275, 78%, 69%)
CMYKcmyk(33%, 78.4%, 0%, 31%)
CIE-LABlab(34.75, 57.34, -57.91)
CIE-LCHlch(34.75, 81.49, 314.72°)
OKLaboklab(46.35% 0.1197 -0.1648)
OKLCHoklch(46.35% 0.204 306)
XYZxyz(15.9991, 8.3725, 41.8391)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626B0 #60B026
analogous
#3126B0 #7626B0 #B026A5
triadic
#7626B0 #B07626 #26B076
tetradic
#7626B0 #B03126 #60B026 #26A5B0
square
#7626B0 #B03126 #60B026 #26A5B0
split-complementary
#7626B0 #A5B026 #26B031
monochromatic
#33104B #541B7E #7626B0 #963ED5 #B170E0

Accessibility & contrast

On white

7.85
#7626B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7626B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626B0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626B0#FFFFFF#000000##FFFFFF
##7626B01.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#6B4A6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7626b0;
/* rgb */ color: rgb(118, 38, 176);
/* oklch */ color: oklch(46.3% 0.204 306.0);
Tailwind
colors: {
  custom: {
    50: '#a36ac9',
    500: '#7626b0',
    950: '#000000',
  },
}
SCSS
$custom: #7626b0;
$custom-light: #a36ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7626b0",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 274.783,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46348,
    "c": 0.20373,
    "h": 306
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#7626B0
secondary
#92C76B
accent
#E74087
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7626B0

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

Preview Lab → · Contrast checker → · Palette generator →

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