#7647BD#7647BD

#7647BD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.178 H 298.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7647BD
RGBrgb(118, 71, 189)
HSLhsl(264, 47%, 51%)
HSVhsv(264, 62%, 74%)
CMYKcmyk(37.6%, 62.4%, 0%, 25.9%)
CIE-LABlab(41.27, 45.04, -55.01)
CIE-LCHlch(41.27, 71.09, 309.31°)
OKLaboklab(51.3% 0.084 -0.1565)
OKLCHoklch(51.3% 0.178 298.2)
XYZxyz(18.9075, 12.0319, 49.4605)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7647BD #8EBD47
analogous
#4753BD #7647BD #B147BD
triadic
#7647BD #BD7647 #47BD76
tetradic
#7647BD #BD4753 #8EBD47 #47BDB1
square
#7647BD #BD4753 #8EBD47 #47BDB1
split-complementary
#7647BD #BDB147 #53BD47
monochromatic
#3E2465 #5A3492 #7647BD #9874CD #B9A1DD

Accessibility & contrast

On white

6.16
#7647BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7647BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7647BD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7647BD#FFFFFF#000000##FFFFFF
##7647BD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7647bd;
/* rgb */ color: rgb(118, 71, 189);
/* oklch */ color: oklch(51.3% 0.178 298.2);
Tailwind
colors: {
  custom: {
    50: '#a27dd2',
    500: '#7647bd',
    950: '#000000',
  },
}
SCSS
$custom: #7647bd;
$custom-light: #a27dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7647bd",
  "rgb": {
    "r": 118,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 263.898,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.17759,
    "h": 298.2
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#7647BD
secondary
#B5CA96
accent
#D751A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7647BD

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

Preview Lab → · Contrast checker → · Palette generator →

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