#7626C1#7626C1

#7626C1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.220 H 301.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7626C1
RGBrgb(118, 38, 193)
HSLhsl(271, 67%, 45%)
HSVhsv(271, 80%, 76%)
CMYKcmyk(38.9%, 80.3%, 0%, 24.3%)
CIE-LABlab(36.15, 61.20, -65.67)
CIE-LCHlch(36.15, 89.76, 312.98°)
OKLaboklab(47.76% 0.1151 -0.1876)
OKLCHoklch(47.76% 0.22 301.5)
XYZxyz(17.7876, 9.0879, 51.2588)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7626C1 #71C126
analogous
#2926C1 #7626C1 #C126BE
triadic
#7626C1 #C17626 #26C176
tetradic
#7626C1 #C12926 #71C126 #26BEC1
square
#7626C1 #C12926 #71C126 #26BEC1
split-complementary
#7626C1 #BEC126 #26C129
monochromatic
#37125B #571C8E #7626C1 #9449DB #B27CE5

Accessibility & contrast

On white

7.45
#7626C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7626C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7626C1
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7626C1#FFFFFF#000000##FFFFFF
##7626C11.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#655175
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7626c1;
/* rgb */ color: rgb(118, 38, 193);
/* oklch */ color: oklch(47.8% 0.220 301.5);
Tailwind
colors: {
  custom: {
    50: '#a56bd5',
    500: '#7626c1',
    950: '#000000',
  },
}
SCSS
$custom: #7626c1;
$custom-light: #a56bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7626c1",
  "rgb": {
    "r": 118,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 270.968,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47764,
    "c": 0.22011,
    "h": 301.5
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#7626C1
secondary
#A0CD75
accent
#EA3E91
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7626C1

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

Preview Lab → · Contrast checker → · Palette generator →

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