#7646BA#7646BA

#7646BA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.175 H 299.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7646BA
RGBrgb(118, 70, 186)
HSLhsl(265, 46%, 50%)
HSVhsv(265, 62%, 73%)
CMYKcmyk(36.6%, 62.4%, 0%, 27.1%)
CIE-LABlab(40.86, 44.80, -53.91)
CIE-LCHlch(40.86, 70.09, 309.73°)
OKLaboklab(50.94% 0.0853 -0.1532)
OKLCHoklch(50.94% 0.175 299.1)
XYZxyz(18.5221, 11.7768, 47.7422)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646BA #8ABA46
analogous
#4650BA #7646BA #B046BA
triadic
#7646BA #BA7646 #46BA76
tetradic
#7646BA #BA4650 #8ABA46 #46BAB0
square
#7646BA #BA4650 #8ABA46 #46BAB0
split-complementary
#7646BA #BAB046 #50BA46
monochromatic
#3E2461 #5A358E #7646BA #9773CB #B89FDB

Accessibility & contrast

On white

6.26
#7646BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7646BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646BA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646BA#FFFFFF#000000##FFFFFF
##7646BA1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#675F79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7646ba;
/* rgb */ color: rgb(118, 70, 186);
/* oklch */ color: oklch(50.9% 0.175 299.1);
Tailwind
colors: {
  custom: {
    50: '#a27ccf',
    500: '#7646ba',
    950: '#000000',
  },
}
SCSS
$custom: #7646ba;
$custom-light: #a27ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#7646ba",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 264.828,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.1754,
    "h": 299.1
  },
  "luminance": 0.11777
}

Semantic roles & 50–950 ramp

primary
#7646BA
secondary
#B2C894
accent
#D5529F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7646BA

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

Preview Lab → · Contrast checker → · Palette generator →

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