#7647BC#7647BC

#7647BC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.176 H 298.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7647BC
RGBrgb(118, 71, 188)
HSLhsl(264, 47%, 51%)
HSVhsv(264, 62%, 74%)
CMYKcmyk(37.2%, 62.2%, 0%, 26.3%)
CIE-LABlab(41.20, 44.78, -54.53)
CIE-LCHlch(41.20, 70.56, 309.39°)
OKLaboklab(51.23% 0.084 -0.1551)
OKLCHoklch(51.23% 0.176 298.4)
XYZxyz(18.7993, 11.9886, 48.8908)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7647BC #8DBC47
analogous
#4752BC #7647BC #B147BC
triadic
#7647BC #BC7647 #47BC76
tetradic
#7647BC #BC4752 #8DBC47 #47BCB1
square
#7647BC #BC4752 #8DBC47 #47BCB1
split-complementary
#7647BC #BCB147 #52BC47
monochromatic
#3E2464 #5A3591 #7647BC #9774CC #B9A1DD

Accessibility & contrast

On white

6.18
#7647BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7647BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7647BC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7647BC#FFFFFF#000000##FFFFFF
##7647BC1.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)
#0061C0
Deuteranopia (green-blind)
#1260B9
Tritanopia (blue-blind)
#66617B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7647bc;
/* rgb */ color: rgb(118, 71, 188);
/* oklch */ color: oklch(51.2% 0.176 298.4);
Tailwind
colors: {
  custom: {
    50: '#a27dd1',
    500: '#7647bc',
    950: '#000000',
  },
}
SCSS
$custom: #7647bc;
$custom-light: #a27dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7647bc",
  "rgb": {
    "r": 118,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 264.103,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.17639,
    "h": 298.4
  },
  "luminance": 0.11989
}

Semantic roles & 50–950 ramp

primary
#7647BC
secondary
#B5C995
accent
#D652A1
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7647BC

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

Preview Lab → · Contrast checker → · Palette generator →

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