#7626BC#7626BC

#7626BC is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.215 H 302.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7626BC
RGBrgb(118, 38, 188)
HSLhsl(272, 66%, 44%)
HSVhsv(272, 80%, 74%)
CMYKcmyk(37.2%, 79.8%, 0%, 26.3%)
CIE-LABlab(35.73, 60.05, -63.42)
CIE-LCHlch(35.73, 87.34, 313.44°)
OKLaboklab(47.34% 0.1165 -0.181)
OKLCHoklch(47.34% 0.215 302.8)
XYZxyz(17.2393, 8.8686, 48.3708)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626BC #6CBC26
analogous
#2B26BC #7626BC #BC26B7
triadic
#7626BC #BC7626 #26BC76
tetradic
#7626BC #BC2B26 #6CBC26 #26B7BC
square
#7626BC #BC2B26 #6CBC26 #26B7BC
split-complementary
#7626BC #B7BC26 #26BC2B
monochromatic
#361156 #561C89 #7626BC #9546DA #B279E4

Accessibility & contrast

On white

7.57
#7626BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7626BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626BC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626BC#FFFFFF#000000##FFFFFF
##7626BC1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#674F72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7626bc;
/* rgb */ color: rgb(118, 38, 188);
/* oklch */ color: oklch(47.3% 0.215 302.8);
Tailwind
colors: {
  custom: {
    50: '#a46bd1',
    500: '#7626bc',
    950: '#000000',
  },
}
SCSS
$custom: #7626bc;
$custom-light: #a46bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7626bc",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 272,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47339,
    "c": 0.21529,
    "h": 302.8
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#7626BC
secondary
#9CCC72
accent
#E93F8E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7626BC

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

Preview Lab → · Contrast checker → · Palette generator →

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