#7647BA#7647BA

#7647BA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.174 H 298.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7647BA
RGBrgb(118, 71, 186)
HSLhsl(265, 45%, 50%)
HSVhsv(265, 62%, 73%)
CMYKcmyk(36.6%, 61.8%, 0%, 27.1%)
CIE-LABlab(41.06, 44.26, -53.58)
CIE-LCHlch(41.06, 69.50, 309.55°)
OKLaboklab(51.09% 0.0842 -0.1523)
OKLCHoklch(51.09% 0.174 298.9)
XYZxyz(18.5852, 11.9030, 47.7632)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7647BA #8BBA47
analogous
#4751BA #7647BA #B047BA
triadic
#7647BA #BA7647 #47BA76
tetradic
#7647BA #BA4751 #8BBA47 #47BAB0
square
#7647BA #BA4751 #8BBA47 #47BAB0
split-complementary
#7647BA #BAB047 #51BA47
monochromatic
#3E2562 #5A358E #7647BA #9774CB #B8A0DB

Accessibility & contrast

On white

6.21
#7647BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7647BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7647BA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7647BA#FFFFFF#000000##FFFFFF
##7647BA1.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)
#0061BE
Deuteranopia (green-blind)
#1760B7
Tritanopia (blue-blind)
#67607A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7647ba;
/* rgb */ color: rgb(118, 71, 186);
/* oklch */ color: oklch(51.1% 0.174 298.9);
Tailwind
colors: {
  custom: {
    50: '#a27ccf',
    500: '#7647ba',
    950: '#000000',
  },
}
SCSS
$custom: #7647ba;
$custom-light: #a27ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#7647ba",
  "rgb": {
    "r": 118,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 264.522,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.17399,
    "h": 298.9
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#7647BA
secondary
#B3C895
accent
#D553A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7647BA

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

Preview Lab → · Contrast checker → · Palette generator →

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