#7646C5#7646C5

#7646C5 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.188 H 296.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7646C5
RGBrgb(118, 70, 197)
HSLhsl(263, 52%, 52%)
HSVhsv(263, 64%, 77%)
CMYKcmyk(40.1%, 64.5%, 0%, 22.7%)
CIE-LABlab(41.63, 47.68, -59.08)
CIE-LCHlch(41.63, 75.92, 308.90°)
OKLaboklab(51.75% 0.0845 -0.1685)
OKLCHoklch(51.75% 0.188 296.6)
XYZxyz(19.7368, 12.2627, 54.1396)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646C5 #95C546
analogous
#4656C5 #7646C5 #B546C5
triadic
#7646C5 #C57646 #46C576
tetradic
#7646C5 #C54656 #95C546 #46C5B5
square
#7646C5 #C54656 #95C546 #46C5B5
split-complementary
#7646C5 #C5B546 #56C546
monochromatic
#3F236E #5A319D #7646C5 #9975D4 #BBA3E2

Accessibility & contrast

On white

6.08
#7646C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7646C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646C5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646C5#FFFFFF#000000##FFFFFF
##7646C51.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#62637F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7646c5;
/* rgb */ color: rgb(118, 70, 197);
/* oklch */ color: oklch(51.7% 0.188 296.6);
Tailwind
colors: {
  custom: {
    50: '#a37cd7',
    500: '#7646c5',
    950: '#000000',
  },
}
SCSS
$custom: #7646c5;
$custom-light: #a37cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7646c5",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 262.677,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.18845,
    "h": 296.6
  },
  "luminance": 0.12263
}

Semantic roles & 50–950 ramp

primary
#7646C5
secondary
#BACF98
accent
#DC4CA5
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7646C5

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

Preview Lab → · Contrast checker → · Palette generator →

#7646C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva