#7647CA#7647CA

#7647CA is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.193 H 295.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7647CA
RGBrgb(118, 71, 202)
HSLhsl(262, 55%, 54%)
HSVhsv(262, 65%, 79%)
CMYKcmyk(41.6%, 64.9%, 0%, 20.8%)
CIE-LABlab(42.19, 48.47, -61.08)
CIE-LCHlch(42.19, 77.97, 308.43°)
OKLaboklab(52.26% 0.0828 -0.1743)
OKLCHoklch(52.26% 0.193 295.4)
XYZxyz(20.3823, 12.6218, 57.2280)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7647CA #9BCA47
analogous
#4759CA #7647CA #B747CA
triadic
#7647CA #CA7647 #47CA76
tetradic
#7647CA #CA4759 #9BCA47 #47CAB7
square
#7647CA #CA4759 #9BCA47 #47CAB7
split-complementary
#7647CA #CAB747 #59CA47
monochromatic
#402275 #592FA4 #7647CA #9977D8 #BDA6E5

Accessibility & contrast

On white

5.96
#7647CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7647CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7647CA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7647CA#FFFFFF#000000##FFFFFF
##7647CA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#606682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7647ca;
/* rgb */ color: rgb(118, 71, 202);
/* oklch */ color: oklch(52.3% 0.193 295.4);
Tailwind
colors: {
  custom: {
    50: '#a47ddb',
    500: '#7647ca',
    950: '#000000',
  },
}
SCSS
$custom: #7647ca;
$custom-light: #a47ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7647ca",
  "rgb": {
    "r": 118,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 261.527,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.19302,
    "h": 295.4
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#7647CA
secondary
#BED29A
accent
#DF49A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7647CA

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

Preview Lab → · Contrast checker → · Palette generator →

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