#7626B1#7626B1

#7626B1 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.205 H 305.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7626B1
RGBrgb(118, 38, 177)
HSLhsl(275, 65%, 42%)
HSVhsv(275, 79%, 69%)
CMYKcmyk(33.3%, 78.5%, 0%, 30.6%)
CIE-LABlab(34.83, 57.56, -58.37)
CIE-LCHlch(34.83, 81.98, 314.60°)
OKLaboklab(46.43% 0.1195 -0.1662)
OKLCHoklch(46.43% 0.205 305.7)
XYZxyz(16.0984, 8.4122, 42.3621)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626B1 #61B126
analogous
#3026B1 #7626B1 #B126A7
triadic
#7626B1 #B17626 #26B176
tetradic
#7626B1 #B13026 #61B126 #26A7B1
square
#7626B1 #B13026 #61B126 #26A7B1
split-complementary
#7626B1 #A7B126 #26B130
monochromatic
#33104C #541B7F #7626B1 #963FD6 #B171E0

Accessibility & contrast

On white

7.83
#7626B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7626B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626B1
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626B1#FFFFFF#000000##FFFFFF
##7626B11.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#6B4A6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7626b1;
/* rgb */ color: rgb(118, 38, 177);
/* oklch */ color: oklch(46.4% 0.205 305.7);
Tailwind
colors: {
  custom: {
    50: '#a36ac9',
    500: '#7626b1',
    950: '#000000',
  },
}
SCSS
$custom: #7626b1;
$custom-light: #a36ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7626b1",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 274.532,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46429,
    "c": 0.20469,
    "h": 305.7
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7626B1

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

Preview Lab → · Contrast checker → · Palette generator →

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