#7646BD#7646BD

#7646BD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.179 H 298.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7646BD
RGBrgb(118, 70, 189)
HSLhsl(264, 47%, 51%)
HSVhsv(264, 63%, 74%)
CMYKcmyk(37.6%, 63%, 0%, 25.9%)
CIE-LABlab(41.07, 45.58, -55.33)
CIE-LCHlch(41.07, 71.69, 309.48°)
OKLaboklab(51.16% 0.0851 -0.1574)
OKLCHoklch(51.16% 0.179 298.4)
XYZxyz(18.8444, 11.9057, 49.4395)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646BD #8DBD46
analogous
#4651BD #7646BD #B146BD
triadic
#7646BD #BD7646 #46BD76
tetradic
#7646BD #BD4651 #8DBD46 #46BDB1
square
#7646BD #BD4651 #8DBD46 #46BDB1
split-complementary
#7646BD #BDB146 #51BD46
monochromatic
#3E2465 #5A3492 #7646BD #9773CD #B9A0DD

Accessibility & contrast

On white

6.21
#7646BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7646BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646BD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646BD#FFFFFF#000000##FFFFFF
##7646BD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0B60BA
Tritanopia (blue-blind)
#66607B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7646bd;
/* rgb */ color: rgb(118, 70, 189);
/* oklch */ color: oklch(51.2% 0.179 298.4);
Tailwind
colors: {
  custom: {
    50: '#a27cd2',
    500: '#7646bd',
    950: '#000000',
  },
}
SCSS
$custom: #7646bd;
$custom-light: #a27cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7646bd",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 264.202,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.17898,
    "h": 298.4
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#7646BD
secondary
#B5CA95
accent
#D751A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7646BD

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

Preview Lab → · Contrast checker → · Palette generator →

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