#7647CC#7647CC

#7647CC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.195 H 295.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7647CC
RGBrgb(118, 71, 204)
HSLhsl(261, 57%, 54%)
HSVhsv(261, 65%, 80%)
CMYKcmyk(42.2%, 65.2%, 0%, 20%)
CIE-LABlab(42.33, 49.00, -62.00)
CIE-LCHlch(42.33, 79.02, 308.32°)
OKLaboklab(52.41% 0.0826 -0.177)
OKLCHoklch(52.41% 0.195 295)
XYZxyz(20.6206, 12.7172, 58.4832)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7647CC #9DCC47
analogous
#475BCC #7647CC #B947CC
triadic
#7647CC #CC7647 #47CC76
tetradic
#7647CC #CC475B #9DCC47 #47CCB9
square
#7647CC #CC475B #9DCC47 #47CCB9
split-complementary
#7647CC #CCB947 #5BCC47
monochromatic
#402177 #592EA7 #7647CC #9A77D9 #BDA7E7

Accessibility & contrast

On white

5.93
#7647CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7647CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7647CC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7647CC#FFFFFF#000000##FFFFFF
##7647CC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#5F6683
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7647cc;
/* rgb */ color: rgb(118, 71, 204);
/* oklch */ color: oklch(52.4% 0.195 295.0);
Tailwind
colors: {
  custom: {
    50: '#a47ddc',
    500: '#7647cc',
    950: '#000000',
  },
}
SCSS
$custom: #7647cc;
$custom-light: #a47ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7647cc",
  "rgb": {
    "r": 118,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 261.203,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.19537,
    "h": 295
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#7647CC
secondary
#C0D49B
accent
#E048AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7647CC

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

Preview Lab → · Contrast checker → · Palette generator →

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