#7646BF#7646BF

#7646BF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.181 H 297.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7646BF
RGBrgb(118, 70, 191)
HSLhsl(264, 49%, 51%)
HSVhsv(264, 63%, 75%)
CMYKcmyk(38.2%, 63.4%, 0%, 25.1%)
CIE-LABlab(41.21, 46.10, -56.28)
CIE-LCHlch(41.21, 72.75, 309.32°)
OKLaboklab(51.3% 0.085 -0.1602)
OKLCHoklch(51.3% 0.181 297.9)
XYZxyz(19.0630, 11.9932, 50.5907)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7646BF #8FBF46
analogous
#4652BF #7646BF #B246BF
triadic
#7646BF #BF7646 #46BF76
tetradic
#7646BF #BF4652 #8FBF46 #46BFB2
square
#7646BF #BF4652 #8FBF46 #46BFB2
split-complementary
#7646BF #BFB246 #52BF46
monochromatic
#3E2467 #5A3394 #7646BF #9873CF #B9A1DE

Accessibility & contrast

On white

6.18
#7646BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7646BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7646BF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7646BF#FFFFFF#000000##FFFFFF
##7646BF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0260BC
Tritanopia (blue-blind)
#65617C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7646bf;
/* rgb */ color: rgb(118, 70, 191);
/* oklch */ color: oklch(51.3% 0.181 297.9);
Tailwind
colors: {
  custom: {
    50: '#a37cd3',
    500: '#7646bf',
    950: '#000000',
  },
}
SCSS
$custom: #7646bf;
$custom-light: #a37cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7646bf",
  "rgb": {
    "r": 118,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 263.802,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.18135,
    "h": 297.9
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#7646BF
secondary
#B6CB96
accent
#D850A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7646BF

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

Preview Lab → · Contrast checker → · Palette generator →

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