#7626C7#7626C7

#7626C7 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.3% C 0.226 H 300.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7626C7
RGBrgb(118, 38, 199)
HSLhsl(270, 68%, 46%)
HSVhsv(270, 81%, 78%)
CMYKcmyk(40.7%, 80.9%, 0%, 22%)
CIE-LABlab(36.67, 62.58, -68.33)
CIE-LCHlch(36.67, 92.66, 312.49°)
OKLaboklab(48.28% 0.1133 -0.1955)
OKLCHoklch(48.28% 0.226 300.1)
XYZxyz(18.4705, 9.3611, 54.8555)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626C7 #77C726
analogous
#2627C7 #7626C7 #C726C7
triadic
#7626C7 #C77626 #26C776
tetradic
#7626C7 #C72627 #77C726 #26C7C7
square
#7626C7 #C72627 #77C726 #26C7C7
split-complementary
#7626C7 #C7C726 #27C726
monochromatic
#391260 #581C94 #7626C7 #954DDD #B381E7

Accessibility & contrast

On white

7.31
#7626C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7626C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626C7
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626C7#FFFFFF#000000##FFFFFF
##7626C71.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#635478
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7626c7;
/* rgb */ color: rgb(118, 38, 199);
/* oklch */ color: oklch(48.3% 0.226 300.1);
Tailwind
colors: {
  custom: {
    50: '#a56bd9',
    500: '#7626c7',
    950: '#000000',
  },
}
SCSS
$custom: #7626c7;
$custom-light: #a56bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7626c7",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 269.814,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48282,
    "c": 0.22589,
    "h": 300.1
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#7626C7
secondary
#A5CF79
accent
#EB3D94
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7626C7

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

Preview Lab → · Contrast checker → · Palette generator →

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